2.5.4 PRIME Sniffer

This interface is simple and is defined in the ifacePrimeSniffer.h file. Only two following functions are available:

  • One function to set the callback where sniffer messages will be sent:
        void prime_sniffer_set_cb(void (*sap_handler)(uint8_t* msg, uint16_t len));
  • One function to set the channel:
        void prime_sniffer_set_channel(uint8_t uc_channel);