ESP-IDF
nan_peer_record
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
nan_peer_record
nan_peer_record struct
Parameters of a peer service record
Syntax
Show:
Summary
Declaration
from
esp_nan.h:33
struct
nan_peer_record
{
uint8_t
peer_svc_id
;
uint8_t
own_svc_id
;
uint8_t
peer_nmi
[
6
]
;
uint8_t
peer_svc_type
;
uint8_t
ndp_id
;
uint8_t
peer_ndi
[
6
]
;
}
;
Fields
Field
Declared as
Description
nan_peer_record::peer_svc_id
uint8_t
Identifier of Peer's service.
nan_peer_record::own_svc_id
uint8_t
Identifier of own service associated with Peer.
nan_peer_record::peer_nmi
uint8_t
[
6
]
Peer's NAN Management Interface address.
nan_peer_record::peer_svc_type
uint8_t
Peer's service type (Publish/Subscribe).
nan_peer_record::ndp_id
uint8_t
Specifies if the peer has any active datapath.
nan_peer_record::peer_ndi
uint8_t
[
6
]
Peer's NAN Data Interface address, only valid when ndp_id is non-zero.
Related Functions
Found 2 other functions taking a
nan_peer_record
argument:
Function
Description
esp_wifi_nan_get_peer_records()
brief Get a list of Peers discovered by the given Service.
esp_wifi_nan_get_peer_info()
brief Find Peer's Service information using Peer MAC and optionally Service Name.
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
nan_peer_record
{
esp_nan.h:33
esp_err_t
esp_wifi_nan_get_peer_records
(
int
*
num_peer_records
,
uint8_t
own_svc_id
,
struct
nan_peer_record
*
peer_record
)
;
esp_nan.h:188
esp_wifi_nan_get_peer_records()
esp_wifi_nan_get_peer_records()::peer_record
esp_err_t
esp_wifi_nan_get_peer_info
(
char
*
svc_name
,
uint8_t
*
peer_mac
,
struct
nan_peer_record
*
peer_info
)
;
esp_nan.h:200
esp_wifi_nan_get_peer_info()
esp_wifi_nan_get_peer_info()::peer_info
esp_err_t
esp_wifi_nan_get_peer_records
(
int
*
num_peer_records
,
uint8_t
own_svc_id
,
struct
nan_peer_record
*
peer_record
)
nan_app.c:1110
esp_wifi_nan_get_peer_records()
esp_wifi_nan_get_peer_records()::peer_record
esp_err_t
esp_wifi_nan_get_peer_info
(
char
*
svc_name
,
uint8_t
*
peer_mac
,
struct
nan_peer_record
*
peer_info
)
nan_app.c:1176
esp_wifi_nan_get_peer_info()
esp_wifi_nan_get_peer_info()::peer_info
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
Instance
Scope
Location
Project
esp_wifi_nan_get_peer_records()::peer_record
esp_wifi_nan_get_peer_records()
esp_nan.h:188
esp_wifi_nan_get_peer_info()::peer_info
esp_wifi_nan_get_peer_info()
esp_nan.h:200
esp_wifi_nan_get_peer_records()::peer_record
esp_wifi_nan_get_peer_records()
nan_app.c:1110
esp_wifi_nan_get_peer_info()::peer_info
esp_wifi_nan_get_peer_info()
nan_app.c:1176
Lifecycle
from
examples
All items filtered out
All items filtered out