|
1 |
| -/* |
| 1 | +/* |
2 | 2 | * The MySensors Arduino library handles the wireless radio link and protocol
|
3 | 3 | * between your home built sensors/actuators and HA controller of choice.
|
4 | 4 | * The sensors forms a self healing radio network with optional repeaters. Each
|
|
40 | 40 | * RFM95 driver-related log messages, format: [!]SYSTEM:[SUB SYSTEM:]MESSAGE
|
41 | 41 | * - [!] Exclamation mark is prepended in case of error
|
42 | 42 | *
|
43 |
| -* |E| SYS | SUB | Message | Comment |
44 |
| -* |-|-------|-------|-----------------------------------|----------------------------------------------------------------------------------- |
45 |
| -* | | RFM95 | INIT | | Initialise RFM95 radio |
46 |
| -* | | RFM95 | INIT | PIN,CS=%d,IQP=%d,IQN=%d[,RST=%d] | Pin configuration: chip select (CS), IRQ pin (IQP), IRQ number (IQN), Reset (RST) |
47 |
| -* |!| RFM95 | INIT | SANCHK FAIL | Sanity check failed, check wiring or replace module |
48 |
| -* | | RFM95 | RCV | SEND ACK | ACK request received, sending ACK back |
49 |
| -* | | RFM95 | PTC | LEVEL=%d | Set TX power level |
50 |
| -* | | RFM95 | SAC | SEND ACK,TO=%d,RSSI=%d,SNR=%d | Send ACK to node (TO), RSSI of received message (RSSI), SNR of message (SNR) |
51 |
| -* | | RFM95 | ATC | ADJ TXL,cR=%d,tR=%d,TXL=%d | Adjust TX level, current RSSI (cR), target RSSI (tR), TX level (TXL) |
52 |
| -* | | RFM95 | SWR | SEND,TO=%d,RETRY=%d | Send message to (TO), NACK retry counter (RETRY) |
53 |
| -* | | RFM95 | SWR | ACK FROM=%d,SEQ=%d,RSSI=%d,SNR=%d | ACK received from node (FROM), seq ID (SEQ), (RSSI), (SNR) |
54 |
| -* |!| RFM95 | SWR | NACK | No ACK received |
55 |
| -* | | RFM95 | SPP | PCT=%d,TX LEVEL=%d | Set TX level, input TX percent (PCT) |
| 43 | +* |E| SYS | SUB | Message | Comment |
| 44 | +* |-|-------|------|------------------------------------|----------------------------------------------------------------------------------- |
| 45 | +* | | RFM95 | INIT | | Initialise RFM95 radio |
| 46 | +* | | RFM95 | INIT | PIN,CS=%d,IQP=%d,IQN=%d[,RST=%d] | Pin configuration: chip select (CS), IRQ pin (IQP), IRQ number (IQN), Reset (RST) |
| 47 | +* |!| RFM95 | INIT | SANCHK FAIL | Sanity check failed, check wiring or replace module |
| 48 | +* | | RFM95 | RCV | SEND ACK | ACK request received, sending ACK back |
| 49 | +* | | RFM95 | PTC | LEVEL=%d | Set TX power level |
| 50 | +* | | RFM95 | SAC | SEND ACK,TO=%d,RSSI=%d,SNR=%d | Send ACK to node (TO), RSSI of received message (RSSI), SNR of message (SNR) |
| 51 | +* | | RFM95 | ATC | ADJ TXL,cR=%d,tR=%d,TXL=%d | Adjust TX level, current RSSI (cR), target RSSI (tR), TX level (TXL) |
| 52 | +* | | RFM95 | SWR | SEND,TO=%d,RETRY=%d | Send message to (TO), NACK retry counter (RETRY) |
| 53 | +* | | RFM95 | SWR | ACK FROM=%d,SEQ=%d,RSSI=%d,SNR=%d | ACK received from node (FROM), seq ID (SEQ), (RSSI), (SNR) |
| 54 | +* |!| RFM95 | SWR | NACK | No ACK received |
| 55 | +* | | RFM95 | SPP | PCT=%d,TX LEVEL=%d | Set TX level percent (PCT), TX level (LEVEL) |
56 | 56 | *
|
57 | 57 | * RFM95 modem configuration
|
58 | 58 | *
|
59 | 59 | * BW = Bandwidth in kHz
|
60 | 60 | * CR = Error correction code
|
61 | 61 | * SF = Spreading factor, chips / symbol
|
62 | 62 | *
|
63 |
| -* | CONFIG | REG_1D | REG_1E | REG_26 | BW | CR | SF | Comment | air-time (15 bytes) |
64 |
| -* |------------------|--------|--------|--------|-------|-----|------|------------------------------------------------ |
65 |
| -* | BW125CR45SF128 | 0x72 | 0x74 | 0x04 | 125 | 4/5 | 128 | Default, medium range | 50ms |
66 |
| -* | BW500CR45SF128 | 0x92 | 0x74 | 0x04 | 500 | 4/5 | 128 | Fast, short range | 15ms |
67 |
| -* | BW31_25CR48SF512 | 0x48 | 0x94 | 0x04 | 31.25 | 4/8 | 512 | Slow, long range | 900ms |
68 |
| -* | BW125CR48SF4096 | 0x78 | 0xC4 | 0x0C | 125 | 4/8 | 4096 | Slow, long range | 1500ms |
| 63 | +* | CONFIG | REG_1D | REG_1E | REG_26 | BW | CR | SF | Comment | air-time (15 bytes) |
| 64 | +* |------------------|--------|--------|--------|-------|-----|------|-----------------------|------------------------ |
| 65 | +* | BW125CR45SF128 | 0x72 | 0x74 | 0x04 | 125 | 4/5 | 128 | Default, medium range | 50ms |
| 66 | +* | BW500CR45SF128 | 0x92 | 0x74 | 0x04 | 500 | 4/5 | 128 | Fast, short range | 15ms |
| 67 | +* | BW31_25CR48SF512 | 0x48 | 0x94 | 0x04 | 31.25 | 4/8 | 512 | Slow, long range | 900ms |
| 68 | +* | BW125CR48SF4096 | 0x78 | 0xC4 | 0x0C | 125 | 4/8 | 4096 | Slow, long range | 1500ms |
69 | 69 | *
|
70 | 70 | * See here for air-time calculation: https://docs.google.com/spreadsheets/d/1voGAtQAjC1qBmaVuP1ApNKs1ekgUjavHuVQIXyYSvNc
|
71 | 71 | *
|
|
0 commit comments