|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module containing stubs for API generation of the 'radio' module. |
|
8 """ |
|
9 |
|
10 RATE_250KBIT = 0 |
|
11 RATE_1MBIT = 0 |
|
12 RATE_2MBIT = 0 |
|
13 |
|
14 def on(): |
|
15 pass |
|
16 |
|
17 def off(): |
|
18 pass |
|
19 |
|
20 def config(length=32, queue=3, channel=7, power=6, address=0x75626974, group=0, |
|
21 data_rate=RATE_1MBIT): |
|
22 pass |
|
23 |
|
24 def reset(): |
|
25 pass |
|
26 |
|
27 def send_bytes(message): |
|
28 pass |
|
29 |
|
30 def receive_bytes(): |
|
31 pass |
|
32 |
|
33 def receive_bytes_into(buffer): |
|
34 pass |
|
35 |
|
36 def send(message): |
|
37 pass |
|
38 |
|
39 def receive(): |
|
40 pass |
|
41 |
|
42 def receive_full(): |
|
43 pass |