mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-02 14:46:16 -04:00
Added escaping to upstream config commands
This commit is contained in:
parent
acf945e1a8
commit
8a35afbebe
2 changed files with 32 additions and 16 deletions
|
@ -52,4 +52,13 @@ All: 0xc00119d21b80c00200005140c00308c00407c0
|
|||
Radio on 0xc00501c0
|
||||
|
||||
Config+on 0xc00119d21b80c00200005140c00308c00407c00501c0
|
||||
|
||||
|
||||
c1 = self.bandwidth >> 24
|
||||
c2 = self.bandwidth >> 16 & 0xFF
|
||||
c3 = self.bandwidth >> 8 & 0xFF
|
||||
c4 = self.bandwidth & 0xFF
|
||||
data = KISS.escape(chr(c1)+chr(c2)+chr(c3)+chr(c4))
|
||||
|
||||
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue