...
:local addressRegex "2C:C8:1B:4B:BB:0A"
The lines below will take the payload's 14th and 15th octets and "re-structure" the values from "ABCD" to "0xCDAB" format (per our example from the Introduction section from "5019" to "0x1950"):
:local tempf [:pick ($adv->"data") 28 32]
:local temp ("0x".[:pick $tempf 2 4].[:pick $tempf 0 2])
The MQTT message that we are posting is structured in the following section (you do not have to change it):
...