Open akapong-tkc opened 1 year ago
I also try to make class b example work but I could not so far. It would be better if there is an example of how we configure devices for class b operation
Have you found something?
We don't have an example with Class B. For class C, I did a lot of work on a branch, but ran into problems and got called off onto another project. The last person who tested class B (a few years ago) reported that there were problems. Unfortunately, it's a little hard to debug. #481 has some fixes that might be relevant.
I just want ta add that If you want to test Class B operation, Gateway used should support Class B mode. Every gateway doesn't support B, it needs to have GPS on it.
If Class C works for you (if there is no energy-convervation issue), you can try another libraries.
I've some problem with Class B device downlink.
Point: I want to make my custom board to Control Board that connect to LoRaWan and always waiting for downlink., Noted: Node device always connect with power supply so didn't have issue with power.
Actually I want my node device into Class C but this library didn't support and can't find another one compatible with SX1276 radio..
Issue that I've found is when device online and joined already
In Chirpstack always show join request and join accept In Serial port show joined but after that always show EV_SCAN_TIMEOUT every 2 minutes even though I published MQTT to device.
So anyone have a solution or have any example with Class B ?
** My node device is custom board that use ESP32 and LoRa SX1276 Environment
In Chirpstack: I've setting Class B already. as the image below![image](https://user-images.githubusercontent.com/107975860/220501882-f4e3fbee-0dd6-4aa8-843d-5714f9878e18.png)
In Firmware I've add LMIC_enableTracking(0); at setup section and LMIC_setPingable(1); after joined already and remove uplink because my device didn't need to send anything. as code show below.