This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to read nrf sniffer 4.1.0 serial data in C?

I'm trying to work with Kismet's nrf51822 plugin that would allow kismet to read the nRF BLE sniffer 4.1.0 the same way Wireshark does.  Alas, theirs is C based and I don't seem to get the right data off my nRF51 DK reading its serial port in C the way the Wireshark plugin does.

Can I first validate I should be opening the /dev/ttyACM0 with 115200 N81 no flow control?  I'm basing that on the results

$ stty < /dev/ttyACM0
speed 115200 baud; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>; start = <undef>; stop = <undef>; susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>;
discard = <undef>; min = 0; time = 1;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

Related