Below you will find information about how to connect the Anjay client from AVSystems to the Tartabit IoT Bridge.
Important note: The identity must be a hexified string, meaning identity "mydevice" should be supplied as 6d79646576696365. Use this website to convert a string identity to its hexified form: https://codebeautify.org/string-hex-converter
Use the docker build if you want a simple build that can be used for testing.
git clone --recurse-submodules https://github.com/AVSystem/Anjay.git
cd Anjay
docker build --no-cache --tag anjay .
# run this to start a docker container with the client:
docker run -it --rm anjay
-b
to perform client-initiated bootstrap is optional../output/bin/demo -b --security-mode psk -u coaps://lwm2m-us.tartabit.com:5684 -e <endpoint> -i <identity> -k <psk>
./output/bin/demo -b --security-mode cert -u coaps://lwm2m-us.tartabit.com:5684 -e <endpoint> -C <path/to/cert.der> -K <path/to/key.der> -P <path/to/server.cert.der>