sys_put_be16() function
Put a 16-bit integer as big-endian to arbitrary location. Put a 16-bit integer, originally in host endianness, to a potentially unaligned memory location in big-endian format.
Syntax
static inline void sys_put_be16(uint16_t val,
uint8_t dst[2]);
Arguments
val
16-bit integer in host endianness.
dst
Destination memory address to store the result.
![]()
static inline void sys_put_be16(uint16_t val, uint8_t dst[2])![]()
sys_put_be16(0x0000, pmsg + 14);![]()
sys_put_be16(j + 1, pmsg + 14);![]()
sys_put_be16(j + 1, pmsg + 14);![]()
sys_put_be16(0x0000, pmsg + 14);![]()
sys_put_be16(j + 1, pmsg + 14);![]()
sys_put_be16(j + 1, pmsg + 14);![]()
sys_put_be16(prov_ctx.fast_prov.net_idx, &pdu[16]);![]()
sys_put_be16(prov_ctx.net_idx, &pdu[16]);![]()
sys_put_be16(prev_addr, &pdu[23]);![]()
sys_put_be16(alloc_addr, &pdu[23]);![]()
sys_put_be16(((seq_zero << 2) & 0x7ffc) | (obo << 15), buf);
sys_put_be16() is called by 12 functions:
![]()
sys_put_be16()
sys_put_be16():
![]()
sys_put_be16()