Closed kadirozdinc closed 3 years ago
Hi WillingLearner, It isn't a string related to my library, I don't know. Try to give more info. Bye Renzo
I search a little bit about it, I found that in /include/stateNaming.h in the line of 70 in your library
case ERR_E22_HEAD_NOT_RECOGNIZED:
return F("Save mode returned not recognized!");
break;
Damn, Yes It's true, give me some information and the correct model, e22 400t 20d not in list at EByte. Bye Renzo
I am sorry, E22400T22D model
Hi, the returned data was wrong, enable debug and try a get configuration. Bye Renzo
How to enable debug ? I tried to get configuration, serial monitor just says:
Success
1
Success
1
Model no:22
Version : 10
Features : 0
Edit: I download ebyte rfSettingsTool I tried to see parameters there is no problem with that. In configuration mode (m0 low m1 high) I could get and set related parameters of the module.
I dont think it is miswiring issue because I was using e32 module on the bread board setup before and I decided to test e22 model, removed e32 and place e22 on the same place instead of e32 and uploaded code but didnt work. I change esp32 and e22 module in case of broken part and test again but result is same.
Did you test your library for esp32 dev module ?
Hi, Yes the library is fully working with esp32.
The output you posted isn't getConfiguration.
You must uncomment LoRa_E22_DEBUG define.
Bye Renzo
I uncommented debug line and managed to get configuration as below :
`RX MIC ---> -1 TX MIC ---> -1 AUX ---> 18 M0 ---> 21 M1 ---> 19 Init AUX pin! Init M0 pin! Init M1 pin! Begin ex Begin Hardware Serial Begin MODE NORMAL! AUX HIGH! Complete! MODE CONFIGURATION! AUX HIGH! Complete! 3 Available buffer: 12 structure size: 12 AUX HIGH! Complete!
HEAD : C1 0 9
AddH : 0 AddL : 3 NetID : 0
Chan : 23 -> 433MHz
SpeedParityBit : 0 -> 8N1 (Default) SpeedUARTDatte : 11 -> 9600bps (default) SpeedAirDataRate : 10 -> 2.4kbps (default)
OptionSubPacketSett: 0 -> 240bytes (default) OptionTranPower : 0 -> 22dBm (Default) OptionRSSIAmbientNo: 1 -> Enabled
TransModeWORPeriod : 11 -> 2000ms (default) TransModeTransContr: 0 -> WOR Receiver (default) TransModeEnableLBT : 0 -> Disabled (default) TransModeEnableRSSI: 0 -> Disabled (default) TransModeEnabRepeat: 0 -> Disabled (default) TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
MODE NORMAL! AUX HIGH! Complete! Success 1
HEAD : C1 0 9
AddH : 0 AddL : 3 NetID : 0
Chan : 23 -> 433MHz
SpeedParityBit : 0 -> 8N1 (Default) SpeedUARTDatte : 11 -> 9600bps (default) SpeedAirDataRate : 10 -> 2.4kbps (default)
OptionSubPacketSett: 0 -> 240bytes (default) OptionTranPower : 0 -> 22dBm (Default) OptionRSSIAmbientNo: 1 -> Enabled
TransModeWORPeriod : 11 -> 2000ms (default) TransModeTransContr: 0 -> WOR Receiver (default) TransModeEnableLBT : 0 -> Disabled (default) TransModeEnableRSSI: 0 -> Disabled (default) TransModeEnabRepeat: 0 -> Disabled (default) TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
MODE CONFIGURATION! AUX HIGH! Complete! AUX HIGH! Complete! Clear buffer...ok! Available buffer: 0 structure size: 12
HEAD : C0 0 9
AddH : 0 AddL : 3 NetID : 0
Chan : 23 -> 433MHz
SpeedParityBit : 0 -> 8N1 (Default) SpeedUARTDatte : 11 -> 9600bps (default) SpeedAirDataRate : 10 -> 2.4kbps (default)
OptionSubPacketSett: 0 -> 240bytes (default) OptionTranPower : 0 -> 22dBm (Default) OptionRSSIAmbientNo: 1 -> Enabled
TransModeWORPeriod : 11 -> 2000ms (default) TransModeTransContr: 0 -> WOR Receiver (default) TransModeEnableLBT : 0 -> Disabled (default) TransModeEnableRSSI: 0 -> Disabled (default) TransModeEnabRepeat: 0 -> Disabled (default) TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
MODE NORMAL! AUX HIGH! Complete! Save mode returned not recognized! 11 MODE CONFIGURATION! AUX HIGH! Complete! 3 Available buffer: 12 structure size: 12 AUX HIGH! Complete!
HEAD : C1 0 9
AddH : 0 AddL : 3 NetID : 0
Chan : 23 -> 433MHz
SpeedParityBit : 0 -> 8N1 (Default) SpeedUARTDatte : 11 -> 9600bps (default) SpeedAirDataRate : 10 -> 2.4kbps (default)
OptionSubPacketSett: 0 -> 240bytes (default) OptionTranPower : 0 -> 22dBm (Default) OptionRSSIAmbientNo: 1 -> Enabled
TransModeWORPeriod : 11 -> 2000ms (default) TransModeTransContr: 0 -> WOR Receiver (default) TransModeEnableLBT : 0 -> Disabled (default) TransModeEnableRSSI: 0 -> Disabled (default) TransModeEnabRepeat: 0 -> Disabled (default) TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
MODE NORMAL! AUX HIGH! Complete! Success 1 HEAD : C1 0 9
AddH : 0 AddL : 3 NetID : 0
Chan : 23 -> 433MHz
SpeedParityBit : 0 -> 8N1 (Default) SpeedUARTDatte : 11 -> 9600bps (default) SpeedAirDataRate : 10 -> 2.4kbps (default)
OptionSubPacketSett: 0 -> 240bytes (default) OptionTranPower : 0 -> 22dBm (Default) OptionRSSIAmbientNo: 1 -> Enabled
TransModeWORPeriod : 11 -> 2000ms (default) TransModeTransContr: 0 -> WOR Receiver (default) TransModeEnableLBT : 0 -> Disabled (default) TransModeEnableRSSI: 0 -> Disabled (default) TransModeEnabRepeat: 0 -> Disabled (default) TransModeFixedTrans: 1 -> Fixed transmission (first three bytes can be used as high/low address and channel) `
What might be the problem with it ? Any idea with debug output ?
Hi Will, some time return success sometime no, the library do the same work every time, so I think there is a connection problem, try to change pull up resistor. Bye Renzo
Hello, I set up esp32 and e22 400t 20d model as described and I open setConfiguration example I upload code. I see "save mode returned not recognized" warning on the serial monitor. What can i do to fix it ?