Jankyneering / Waffle_sw

Sofware for Waffle, a compact Pager and general RF multitool.
GNU General Public License v3.0
1 stars 1 forks source link

add pocsag message reception #12

Open fred-corp opened 2 months ago

fred-corp commented 2 months ago

Works, but has issues with going back to reception mode after getting the RSSI; still need to work on that

Current fix : call pocsagStartRx() in radioHandler::getRSSI() in radioHandler.cpp

ESP_LOG when receiving a message :

I (50763) [RADIO     ]: Reading data
I (50763) [RADIO     ]: RX success!
I (50763) [RADIO     ]: Message: PORTAPACK
I (50763) [RADIO     ]: Address: 0
I (50833) [RADIO     ]: [Pager] Starting to listen ... 
I (50833) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
E (50833) gpio: gpio_install_isr_service(502): GPIO isr service already installed
I (50843) [RADIO     ]: RX start success!
I (50853) [RADIO     ]: RSSI : -101

need to fix GPIO error

fred-corp commented 1 month ago

GPIO ISR error is now fixed (see some previous commit).

TODO : Dissociate different POCSAG message types (Address only, Numeric and Alphanumeric)