|
| Hi All,
Could you please advice the difference between RFCOMM and SPP.
My understanding is that RFCOMM almost set up all serial port config
need:
for example, here is the CSR Bluelab's rfcomm setting,
rfcomm_config_params
config;
config.max_frame_size = RFCOMM_DEFAULT_FRAME
_SIZE;
config.break_signal = DEFAULT_RFCOMM_BREAK
_SIGNAL;
config.modem_status = DEFAULT_RFCOMM_MODEM
_STATUS_SIGNAL;
config.timeout = 20000;
//This is the line I changed
config.request = TRUE;
config.port_params.port_speed = PORT_SPEED_UNUSED;
config.port_params.data_bits = DATA_BITS_8;
config.port_params.stop_bits = STOP_BITS_ONE;
config.port_params.parity = PARITY_ON;
config.port_params.parity_type = PARITY_TYPE_ODD;
config.port_params.flow_ctrl_mask = DEFAULT_RFCOMM_FLOW_
CTRL_MASK;
config.port_params.xon = XON_CHAR_DEFAULT;
config.port_params.xoff = XOFF_CHAR_DEFAULT;
config.port_params.parameter_mask = DEFAULT_RFCOMM_PARAM
ETER_MASK;
There is DATABITS, STOPBITS,... etc, so what to increase to become a
SPP ??
confusing ....
it seems that already a SPP ...
Best regards,
Boki.
|
|