Bluetooth LE Stack
l2cap_register_service()
is only used within Bluetooth LE Stack.
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
Raspberry Pi Pico SDK and Examples
Bluetooth LE Stack
l2cap_register_service()
l2cap_register_service() function
Registers L2CAP service with given PSM and MTU, and assigns a packet handler.
Syntax
Show:
Summary
Declaration
from
l2cap.h:534
uint8_t
l2cap_register_service
(
btstack_packet_handler_t
packet_handler
,
uint16_t
psm
,
uint16_t
mtu
,
gap_security_level_t
security_level
)
;
Arguments
Argument
packet_handler
psm
mtu
security_level
Return value
status ERROR_CODE_SUCCESS if successful, otherwise L2CAP_SERVICE_ALREADY_REGISTERED or BTSTACK_MEMORY_ALLOC_FAILED
Examples
References
from
examples
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