Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff28e917 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

legacy: Introduce rfcomm event types am: f286ce40 am: 9c3b4c2d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1805909

Change-Id: I9d77d20ed7a018527910825441cdef77e9147802
parents 5d1ce49d 9c3b4c2d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -188,6 +188,7 @@ inline std::string rfcomm_mx_state_text(tRFC_MX_STATE state) {
/*
 * Events that can be received by multiplexer as well as port state machines
*/
typedef uint8_t tRFC_EVENT;
#define RFC_EVENT_SABME 0
#define RFC_EVENT_UA 1
#define RFC_EVENT_DM 2
@@ -198,6 +199,7 @@ inline std::string rfcomm_mx_state_text(tRFC_MX_STATE state) {
/*
 * Multiplexer events
*/
typedef uint8_t tRFC_MX_EVENT;
#define RFC_MX_EVENT_START_REQ 6
#define RFC_MX_EVENT_START_RSP 7
#define RFC_MX_EVENT_CLOSE_REQ 8
@@ -211,6 +213,7 @@ inline std::string rfcomm_mx_state_text(tRFC_MX_STATE state) {
/*
 * Port events
*/
typedef uint8_t tRFC_PORT_EVENT;
#define RFC_EVENT_OPEN 9
#define RFC_EVENT_ESTABLISH_RSP 11
#define RFC_EVENT_CLOSE 12