bitcraze / libdw1000

Driver for DW1000
Apache License 2.0
44 stars 32 forks source link

Sending data through UWB #15

Closed afnan closed 5 years ago

afnan commented 5 years ago

Hi,

Using this code can you send custom data (other than position) using UWB from tag to the listener?

ataffanel commented 5 years ago

Yes, this code actually do not contain any code related to position or ranging: the DW1000 chip is a radio chip able to send/receive data packet and to measure very accurately the TX and RX timestamp.

So this code can only send custom data, if your happen to send data related to timing/position you can also implement ranging/positioning algorithm.

afnan commented 5 years ago

Correct me if I am wrong

  1. This code will replace the DWM1001 firmware?
  2. We can still use decawave library and their Location Engine ?
ataffanel commented 5 years ago

1) This code is a port to C of the DW1000 Arduino library, it is only the DW1000 driver. The main goal of this code implementation was to provide an open source DW1000 library for bitcraze/lps-node-firmware and bitcraze/crazyflie-firmware. Both these firmware are the one implementing the ranging related functionality. I guess you could use this lib in the DW1001 if you write the low-level SPI access function. 2) If you want to use Decawave ranging code, you most likely want to use the decawave-implemented DW1000 driver. The main use-case for this library would be if you want to work on open-source code.