Fix sniffer project
@@ -55,8 +55,11 @@ app_vars_t app_vars;
//=========================== prototypes ======================================
void cb_startFrame(PORT_TIMER_WIDTH timestamp);
+
void cb_endFrame(PORT_TIMER_WIDTH timestamp);
+
void cb_timer(opentimers_id_t id);
+
void task_uploadPacket(void);
//=========================== main ============================================
@@ -178,15 +181,21 @@ void task_uploadPacket(void) {
void ieee154e_setSingleChannel(uint8_t channel) {
sniffer_setListeningChannel(channel);
}
+
void ieee154e_setIsSecurityEnabled(bool isEnabled) { return; }
+
void ieee154e_setSlotDuration(uint16_t duration) { return; }
+
void ieee154e_setIsAckEnabled(bool isEnabled) { return; }
+
void ieee154e_getAsn(uint8_t *array) { return; }
void schedule_startDAGroot(void) { return; }
+
void schedule_setFrameLength(uint16_t frameLength) { return; }
void sixtop_setEBPeriod(uint8_t ebPeriod) { return; }
+
owerror_t sixtop_request(
uint8_t code,
open_addr_t *neighbor,
@@ -198,30 +207,51 @@ owerror_t sixtop_request(
uint16_t listingOffset,
uint16_t listingMaxNumCells
) { return E_FAIL; }
+
void sixtop_setIsResponseEnabled(bool isEnabled) { return; }
+
void sixtop_setKaPeriod(uint16_t kaPeriod) { return; }
+
void msf_appPktPeriod(uint8_t numAppPacketsPerSlotFrame) { return; }
+
uint8_t msf_getsfid(void) { return 0; }
void openbridge_triggerData(void) { return; }
void icmpv6rpl_setDIOPeriod(uint16_t dioPeriod) { return; }
+
void icmpv6rpl_setDAOPeriod(uint16_t daoPeriod) { return; }
+
void icmpv6rpl_setMyDAGrank(uint16_t rank) { return; }
+
void icmpv6rpl_writeDODAGid(uint8_t *dodagid) { return; }
+
void icmpv6rpl_updateMyDAGrankAndParentSelection(void) { return; }
+
bool icmpv6rpl_getPreferredParentEui64(open_addr_t *neighbor) { return TRUE; }
+
void icmpv6echo_setIsReplyEnabled(bool isEnabled) { return; }
bool debugPrint_asn(void) { return TRUE; }
+
+bool debugPrint_msf(void) { return TRUE; }
+
bool debugPrint_isSync(void) { return TRUE; }
+
bool debugPrint_macStats(void) { return TRUE; }
+
bool debugPrint_schedule(void) { return TRUE; }
+
bool debugPrint_backoff(void) { return TRUE; }
+
bool debugPrint_queue(void) { return TRUE; }
+
bool debugPrint_neighbors(void) { return TRUE; }
+
bool debugPrint_myDAGrank(void) { return TRUE; }
+
bool debugPrint_kaPeriod(void) { return TRUE; }
void IEEE802154_security_setBeaconKey(uint8_t index, uint8_t *value) { return; }
+
void IEEE802154_security_setDataKey(uint8_t index, uint8_t *value) { return; }
