Hi colleagues,
I think, there is an error in https://github.com/RAKWireless/Products_practice_based_on_RUI,
all files lora_config.c
Line 480
rui_return_status = rui_i2c_rw(&I2c_temp,RUI_IF_WRITE,strtoul(argv[2],0,16),(uint16_t)strtoul(argv[3],0,16),i2c_data,(uint16_t)atoi(argv[4]));
shoul be
rui_return_status = rui_i2c_rw(&I2c_temp,RUI_IF_WRITE,strtoul(argv[2],0,16),(uint16_t)strtoul(argv[3],0,16),i2c_data, app_len);
The last parameter for rui_i2c_rw() should be length, what is in this write case length of user data.
Am I wrong ?
Thx Ant