ESP-IDF
htole16
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
htole16
htole16 macro
Syntax
Show:
Summary
Declaration
from
endian.h:72
#define
htole16
(
x
)
(
(
uint16_t
)
(
x
)
)
Arguments
Argument
x
Examples
References
from
examples
Code
Location
#define
htole16
(
x
)
(
(
uint16_t
)
(
x
)
)
endian.h:164
#define
htole16
(
x
)
(
(
uint16_t
)
(
x
)
)
endian.h:72
#define
htole16
(
x
)
(
(
uint16_t
)
(
x
)
)
endian.h:90
req
->
bamc_mtu
=
htole16
(
mtu
)
;
ble_att_clt.c:96
req
->
bafq_start_handle
=
htole16
(
start_handle
)
;
ble_att_clt.c:178
req
->
bafq_end_handle
=
htole16
(
end_handle
)
;
ble_att_clt.c:179
req
->
bavq_start_handle
=
htole16
(
start_handle
)
;
ble_att_clt.c:305
req
->
bavq_end_handle
=
htole16
(
end_handle
)
;
ble_att_clt.c:306
req
->
bavq_attr_type
=
htole16
(
attribute_type
)
;
ble_att_clt.c:307
req
->
batq_start_handle
=
htole16
(
start_handle
)
;
ble_att_clt.c:387
req
->
batq_end_handle
=
htole16
(
end_handle
)
;
ble_att_clt.c:388
req
->
barq_handle
=
htole16
(
handle
)
;
ble_att_clt.c:473
req
->
babq_handle
=
htole16
(
handle
)
;
ble_att_clt.c:519
req
->
babq_offset
=
htole16
(
offset
)
;
ble_att_clt.c:520
req
->
handles
[
i
]
=
htole16
(
handles
[
i
]
)
;
ble_att_clt.c:572
req
->
bagq_start_handle
=
htole16
(
start_handle
)
;
ble_att_clt.c:628
req
->
bagq_end_handle
=
htole16
(
end_handle
)
;
ble_att_clt.c:629
req
->
bawq_handle
=
htole16
(
handle
)
;
ble_att_clt.c:721
cmd
->
handle
=
htole16
(
handle
)
;
ble_att_clt.c:760
cmd
->
handle
=
htole16
(
handle
)
;
ble_att_clt.c:805
req
->
bapc_handle
=
htole16
(
handle
)
;
ble_att_clt.c:918
req
->
bapc_offset
=
htole16
(
offset
)
;
ble_att_clt.c:919
req
->
banq_handle
=
htole16
(
handle
)
;
ble_att_clt.c:1032
req
->
baiq_handle
=
htole16
(
handle
)
;
ble_att_clt.c:1072
dst
->
baep_handle
=
htole16
(
src
->
baep_handle
)
;
ble_att_cmd.c:173
dst
->
bamc_mtu
=
htole16
(
src
->
bamc_mtu
)
;
ble_att_cmd.c:210
dst
->
bamc_mtu
=
htole16
(
src
->
bamc_mtu
)
;
ble_att_cmd.c:221
dst
->
bafq_start_handle
=
htole16
(
src
->
bafq_start_handle
)
;
ble_att_cmd.c:246
dst
->
bafq_end_handle
=
htole16
(
src
->
bafq_end_handle
)
;
ble_att_cmd.c:247
dst
->
bavq_start_handle
=
htole16
(
src
->
bavq_start_handle
)
;
ble_att_cmd.c:297
dst
->
bavq_end_handle
=
htole16
(
src
->
bavq_end_handle
)
;
ble_att_cmd.c:298
dst
->
bavq_attr_type
=
htole16
(
src
->
bavq_attr_type
)
;
ble_att_cmd.c:299
dst
->
batq_start_handle
=
htole16
(
src
->
batq_start_handle
)
;
ble_att_cmd.c:324
dst
->
batq_end_handle
=
htole16
(
src
->
batq_end_handle
)
;
ble_att_cmd.c:325
dst
->
barq_handle
=
htole16
(
src
->
barq_handle
)
;
ble_att_cmd.c:373
dst
->
babq_handle
=
htole16
(
src
->
babq_handle
)
;
ble_att_cmd.c:398
dst
->
babq_offset
=
htole16
(
src
->
babq_offset
)
;
ble_att_cmd.c:399
dst
->
bagq_start_handle
=
htole16
(
src
->
bagq_start_handle
)
;
ble_att_cmd.c:452
dst
->
bagq_end_handle
=
htole16
(
src
->
bagq_end_handle
)
;
ble_att_cmd.c:453
dst
->
bawq_handle
=
htole16
(
src
->
bawq_handle
)
;
ble_att_cmd.c:511
dst
->
bawq_handle
=
htole16
(
src
->
bawq_handle
)
;
ble_att_cmd.c:522
dst
->
bapc_handle
=
htole16
(
src
->
bapc_handle
)
;
ble_att_cmd.c:547
dst
->
bapc_offset
=
htole16
(
src
->
bapc_offset
)
;
ble_att_cmd.c:548
dst
->
bapc_handle
=
htole16
(
src
->
bapc_handle
)
;
ble_att_cmd.c:573
dst
->
bapc_offset
=
htole16
(
src
->
bapc_offset
)
;
ble_att_cmd.c:574
dst
->
banq_handle
=
htole16
(
src
->
banq_handle
)
;
ble_att_cmd.c:636
dst
->
baiq_handle
=
htole16
(
src
->
baiq_handle
)
;
ble_att_cmd.c:660
rsp
->
baep_handle
=
htole16
(
handle
)
;
ble_att_svr.c:642
cmd
->
bamc_mtu
=
htole16
(
mtu
)
;
ble_att_svr.c:752
data
->
handle
=
htole16
(
entry
->
ha_handle_id
)
;
ble_att_svr.c:1443
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_gap.c:754
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_gap.c:857
cmd
.
phy_options
=
htole16
(
phy_opts
)
;
ble_gap.c:871
cmd
.
conn_handle
=
htole16
(
handle
)
;
ble_gap.c:2526
cmd
.
conn_handle
=
htole16
(
handle
)
;
ble_gap.c:2538
cmd
.
min_interval
=
htole16
(
min
)
;
ble_gap.c:3351
cmd
.
max_interval
=
htole16
(
max
)
;
ble_gap.c:3352
cmd
.
min_interval
=
htole16
(
adv_params
->
itvl_min
)
;
ble_gap.c:3354
cmd
.
max_interval
=
htole16
(
adv_params
->
itvl_max
)
;
ble_gap.c:3355
cmd
.
scan_itvl
=
htole16
(
disc_params
->
itvl
)
;
ble_gap.c:5996
cmd
.
scan_window
=
htole16
(
disc_params
->
window
)
;
ble_gap.c:5997
cmd
.
scan_itvl
=
htole16
(
params
->
scan_itvl
)
;
ble_gap.c:6414
cmd
.
scan_window
=
htole16
(
params
->
scan_window
)
;
ble_gap.c:6415
cmd
.
min_conn_itvl
=
htole16
(
params
->
itvl_min
)
;
ble_gap.c:6431
cmd
.
max_conn_itvl
=
htole16
(
params
->
itvl_max
)
;
ble_gap.c:6432
cmd
.
conn_latency
=
htole16
(
params
->
latency
)
;
ble_gap.c:6433
cmd
.
tmo
=
htole16
(
params
->
supervision_timeout
)
;
ble_gap.c:6434
cmd
.
min_ce
=
htole16
(
params
->
min_ce_len
)
;
ble_gap.c:6435
cmd
.
max_ce
=
htole16
(
params
->
max_ce_len
)
;
ble_gap.c:6436
cmd
.
conn_handle
=
htole16
(
conn
->
bhc_handle
)
;
ble_gap.c:7514
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_gap.c:7744
cmd
.
conn_itvl_min
=
htole16
(
params
->
itvl_min
)
;
ble_gap.c:7745
cmd
.
conn_itvl_max
=
htole16
(
params
->
itvl_max
)
;
ble_gap.c:7746
cmd
.
conn_latency
=
htole16
(
params
->
latency
)
;
ble_gap.c:7747
cmd
.
supervision_timeout
=
htole16
(
params
->
supervision_timeout
)
;
ble_gap.c:7748
cmd
.
min_ce
=
htole16
(
params
->
min_ce_len
)
;
ble_gap.c:7749
cmd
.
max_ce
=
htole16
(
params
->
max_ce_len
)
;
ble_gap.c:7750
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_gap.c:7762
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_gap.c:7822
cmd
.
conn_itvl_min
=
htole16
(
params
->
itvl_min
)
;
ble_gap.c:7823
cmd
.
conn_itvl_max
=
htole16
(
params
->
itvl_max
)
;
ble_gap.c:7824
cmd
.
conn_latency
=
htole16
(
params
->
latency
)
;
ble_gap.c:7825
cmd
.
supervision_timeout
=
htole16
(
params
->
supervision_timeout
)
;
ble_gap.c:7826
cmd
.
min_ce_len
=
htole16
(
params
->
min_ce_len
)
;
ble_gap.c:7827
cmd
.
max_ce_len
=
htole16
(
params
->
max_ce_len
)
;
ble_gap.c:7828
num_pkt
=
htole16
(
*
ptr
)
;
ble_gap.c:8698
tmp
=
htole16
(
elems
[
i
]
)
;
ble_hs_adv.c:216
cmd
->
h
[
0
]
.
handle
=
htole16
(
conn
->
bhc_handle
)
;
ble_hs_flow.c:85
cmd
->
h
[
0
]
.
count
=
htole16
(
conn
->
bhc_completed_pkts
)
;
ble_hs_flow.c:86
.
acl_data_len
=
htole16
(
MYNEWT_VAL
(
BLE_TRANSPORT_ACL_SIZE
)
)
,
ble_hs_flow.c:233
.
acl_num
=
htole16
(
MYNEWT_VAL
(
BLE_TRANSPORT_ACL_FROM_LL_COUNT
)
)
,
ble_hs_flow.c:234
cmd
.
handle
=
htole16
(
conn_handle
)
;
ble_hs_hci_util.c:102
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_hs_hci_util.c:150
cmd
.
tx_octets
=
htole16
(
tx_octets
)
;
ble_hs_hci_util.c:151
cmd
.
tx_time
=
htole16
(
tx_time
)
;
ble_hs_hci_util.c:152
cmd
.
max_tx_octets
=
htole16
(
sugg_max_tx_octets
)
;
ble_hs_hci_util.c:216
cmd
.
max_tx_time
=
htole16
(
sugg_max_tx_time
)
;
ble_hs_hci_util.c:217
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_hs_hci_util.c:251
cmd
.
rpa_timeout
=
htole16
(
timeout
)
;
ble_hs_pvcy.c:47
uint16_t
l
=
htole16
(
OS_MBUF_PKTLEN
(
tx
->
sdus
[
0
]
)
)
;
ble_l2cap_coc.c:493
rsp
->
result
=
htole16
(
l2cap_result
)
;
ble_l2cap_sig.c:478
req
->
itvl_min
=
htole16
(
params
->
itvl_min
)
;
ble_l2cap_sig.c:591
req
->
itvl_max
=
htole16
(
params
->
itvl_max
)
;
ble_l2cap_sig.c:592
req
->
slave_latency
=
htole16
(
params
->
slave_latency
)
;
ble_l2cap_sig.c:593
req
->
timeout_multiplier
=
htole16
(
params
->
timeout_multiplier
)
;
ble_l2cap_sig.c:594
rsp
->
result
=
htole16
(
BLE_L2CAP_COC_ERR_INVALID_SOURCE_CID
)
;
ble_l2cap_sig.c:1208
rsp
->
result
=
htole16
(
BLE_L2CAP_COC_ERR_SOURCE_CID_ALREADY_USED
)
;
ble_l2cap_sig.c:1215
rsp
->
result
=
htole16
(
coc_err
)
;
ble_l2cap_sig.c:1223
rsp
->
result
=
htole16
(
coc_err
)
;
ble_l2cap_sig.c:1248
rsp
->
dcid
=
htole16
(
chan
->
scid
)
;
ble_l2cap_sig.c:1252
rsp
->
credits
=
htole16
(
chan
->
coc_rx
.
credits
)
;
ble_l2cap_sig.c:1253
rsp
->
mps
=
htole16
(
chan
->
my_coc_mps
)
;
ble_l2cap_sig.c:1254
rsp
->
mtu
=
htole16
(
chan
->
coc_rx
.
mtu
)
;
ble_l2cap_sig.c:1255
rsp
->
result
=
htole16
(
BLE_L2CAP_COC_ERR_CONNECTION_SUCCESS
)
;
ble_l2cap_sig.c:1256
req
->
psm
=
htole16
(
psm
)
;
ble_l2cap_sig.c:1389
req
->
scid
=
htole16
(
chan
->
scid
)
;
ble_l2cap_sig.c:1390
req
->
mtu
=
htole16
(
chan
->
coc_rx
.
mtu
)
;
ble_l2cap_sig.c:1391
req
->
mps
=
htole16
(
chan
->
my_coc_mps
)
;
ble_l2cap_sig.c:1392
req
->
credits
=
htole16
(
chan
->
coc_rx
.
credits
)
;
ble_l2cap_sig.c:1393
rsp
->
dcid
=
htole16
(
chan
->
scid
)
;
ble_l2cap_sig.c:1616
rsp
->
scid
=
htole16
(
chan
->
dcid
)
;
ble_l2cap_sig.c:1617
req
->
dcid
=
htole16
(
chan
->
dcid
)
;
ble_l2cap_sig.c:1728
req
->
scid
=
htole16
(
chan
->
scid
)
;
ble_l2cap_sig.c:1729
cmd
->
scid
=
htole16
(
scid
)
;
ble_l2cap_sig.c:1781
cmd
->
credits
=
htole16
(
credits
)
;
ble_l2cap_sig.c:1782
cmd
->
reason
=
htole16
(
reason
)
;
ble_l2cap_sig_cmd.c:71
hdr
->
length
=
htole16
(
len
)
;
ble_l2cap_sig_cmd.c:115
cmd
.
conn_handle
=
htole16
(
params
->
connection_handle
)
;
ble_sm.c:1144
cmd
.
div
=
htole16
(
params
->
encrypted_diversifier
)
;
ble_sm.c:1145
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_sm.c:1332
cmd
.
conn_handle
=
htole16
(
conn_handle
)
;
ble_sm.c:1356
uint16_t
appearance
=
htole16
(
ble_svc_gap_appearance
)
;
ble_svc_gap.c:164
(
(
uint16_t
*
)
req
->
data
)
[
0
]
=
htole16
(
auth_alg
)
;
/* Authentication algorithm */
esp_wpa3.c:700
(
(
uint16_t
*
)
req
->
data
)
[
1
]
=
htole16
(
auth_transaction
)
;
/* Transaction number */
esp_wpa3.c:701
(
(
uint16_t
*
)
req
->
data
)
[
2
]
=
htole16
(
resp
)
;
/* Response code */
esp_wpa3.c:702
val
=
htole16
(
val
)
;
glue.c:261
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out