Hi, im trying to send a “HELLO” and see it in the MQTT, but i cant, can anyone help me ?
This is what im doing:
This is the example from the API Guide: (Page 65)
Example:
uint8_t len, data[DWM_USR_DATA_LEN_MAX];
len = DWM_USR_DATA_LEN_MAX;
dwm_usr_data_write(data, len, false);
EDIT: DWM_USR_DATA_LEN_MAX = 34
I though that : "if im seeing a lots of A’s and the array has a lots of 0’s, it’s like add 65 in ASCII " but is not the case i think.
Hi,
The data is encoded in base 64 and must be converted in order to decode it.
The following python code is q quick example:
from binascii import hexlify, a2b_base64, unhexlify,
test = 'SEVMTE8=='
str_hex = hexlify(a2b_base64(test))
print(unhexlify(str_hex))
Good to see you managed to get that far anyway. Any issue with the gateway deployment guide ?
Thank you,
Yves
Everything works fine, i didnt have any trouble with the Gateway configuration and the example’s projects for SEGGER, but i saw some little errors in the PDF (text errors), they are:
- Figure 15 (page 20) Reference error
- Above the Figure 17 (page 22) Reference error
- I think that this is not a error (i dont know too much about connections) but i couldn’t conect the RPi by Wi-Fi with the Figure of Section 4.2. I used this config and its working! :
Thank you so much for your work !
Hi leapslabs, the internet is working !! i was trying to do a little list of “possible issue” that i saw in the Guide !
Thank you for your time !
Best
FC
1 Like