1#include "main-header.h"
12 .probe = &ti1101_probe,
15 .transmit = &ti1101_transmit,
28 ti1101_disable_irq(nctx);
30 if (config_get_ti1101disable()) {
37 tir = internal_ti1101_init(nctx);
39 IPLOG(
"No TI1101 found!\r\n");
42 IPLOG(
"\r\nDone.\r\n");
43 IPLOG(
"CC1101 version: %i\r\n", ti1101_read_version());
48 IPLOG(
"********* Init CC1101 start ***********\r\n");
51 p = detect_and_init_ti1101(nctx);
56 nic_set_transmit_status(nctx, 1);
57 IPLOG(
"********* Init CC1101 completed ***********\r\n");
63 IPLOG(
"********* Probe CC1101 start ***********\r\n");
64 p = detect_and_init_ti1101(nctx);
65 IPLOG(
"********* Probe CC1101 done ***********\r\n");
int ti1101_loop(struct network_context *ctx)
this is called in the main thread periodically
int ti1101_off()
diable processing of ti1101 commands
void packet_buf_init(const int num)
initialize (reset, clear) a given buffer