source/main.cpp
// This is already debounced to the eventqueue, so safe to run printf here
This is already debounced to the eventqueue, so safe to run printf here
This is already debounced to the eventqueue so safe to run printf here
static void switch_to_class_a() {
    printf("Switch to Class A\n");
    turn_led_off();
    uc.printHeapStats("CLASSA ");
    in_class_c_mode = false;
    lorawan.set_session(&class_a_params);
    lorawan.enable_adaptive_datarate();
    lorawan.set_device_class(CLASS_A);
    evqueue.call_in(5000, &send_message);
}
static void switch_to_class_a ( ) { printf ( " \n " ) ; turn_led_off ( ) ; uc . printHeapStats ( " " ) ; in_class_c_mode = false ; lorawan . set_session ( & class_a_params ) ; lorawan . enable_adaptive_datarate ( ) ; lorawan . set_device_class ( CLASS_A ) ; evqueue . call_in ( 5000 , & send_message ) ; }
This is already debounced to the eventqueue, so safe to run printf here
This is already debounced to the eventqueue so safe to run printf here
// put back the class A session // wait for a few seconds to send the message