projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to copy over...
[pub/USBasp.git]
/
Demos
/
Host
/
Incomplete
/
BluetoothHost
/
Lib
/
RFCOMM.h
diff --git
a/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
b/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
index
d37c068
..
7b1f45b
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
+++ b/
Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
@@
-86,9
+86,16
@@
uint8_t State;
uint8_t Priority;
uint16_t MTU;
uint8_t State;
uint8_t Priority;
uint16_t MTU;
- uint8_t StatusFlags;
- uint8_t Signals;
- uint8_t BreakSignals;
+ struct
+ {
+ uint8_t Signals;
+ uint8_t BreakSignal;
+ } Remote;
+ struct
+ {
+ uint8_t Signals;
+ uint8_t BreakSignal;
+ } Local;
} RFCOMM_Channel_t;
/* External Variables: */
} RFCOMM_Channel_t;
/* External Variables: */