Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- &5:420:0:03713031464@
- (start byte) (data length) : (type of message) (priority) (data1) : (data2): (data3) (CRC) (end byte)
- print "&5:420:0:03713031464@".split(":")
- //data - приходящая строка
- arr = data.split(':')
- print('n'.join(arr))
Add Comment
Please, Sign In to add comment