I gave some remarks on the code, which were processed.
If there is a feeling that adding the HeatIndex complicates the example, maybe this example should be a separate file, named "DhtHeatIndexSensor"?
upload_port does not specify the target. It just selects if you'll use the gdb port or the uart port from the BMP. The target I'm talking about is what comes up when trying to do upload.
Configuring upload protocol...
AVAILABLE: blackmagic, cmsis-dap, jlink, nrfjprog, nrfutil, stlink
CURRENT: upload_protocol = blackmagic
Looking for BlackMagic port...
Target voltage: 3.45V
No. Att Driver
1 Nordic nRF52 M3/M4
2 Nordic nRF52 Access Port
0x000020d8 in transportProcessFIFO() ()
Loading section .text, size 0x895c lma 0x0
Loading section .ARM.exidx, size 0x8 lma 0x895c
Loading section .data, size 0x23c lma 0x8964
Start address 0x32e0, load size 35744
Transfer rate: 42 KB/sec, 916 bytes/write.
Section .text, range 0x0 -- 0x895c: matched.
Section .ARM.exidx, range 0x895c -- 0x8964: matched.
Section .data, range 0x8964 -- 0x8ba0: matched.
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
If I don't do
then PlatformIO complains about undefined reference to 'g_ADigitalPinMap', which is in compat_pin_mapping.h and is called from MyBoardNRF5.cpp when MYBOARDNRF5 is defined. But I see that your variant.h/.cpp is different than the ones coming with ArduinoHwNRF5, which I'm using. Maybe try your version instead and see what happens...
If anyone is getting "Property 'bootloader.tool.' is undefined" error with arduino 2.x when trying to burn bootloader, then you just have to add another row in bold below to boards.txt file
CAN Bus is still functional, and no problem.
a question : is it possible to implement the use of 2 CAN Module on the same Gateway.
2 CAN bus or RS485 + CAN
as for the RS485 in example for a Mega2560 board
* Example: @code #define MY_RS485_HWSERIAL Serial1 @endcode
//#define MY_RS485_HWSERIAL (Serial1)
Hi @Soloam, not sure if you managed to solve your problem. I would recommend using Mosquitto MQTT broker open source or Pro version since they both support all MQTT QoS levels (including QoS 0, QoS 1, QoS 2).