Cellular forums Home > Archive > Bluetooth discussion > July 2006 > RFCOMM and SPP difference.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RFCOMM and SPP difference.
Boki

2006-07-27, 10:33 am

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.

LinkBot





Other Archives: Real Estate forum archive | Web Design archive | Software support archive | PC Hardware reviews archive | Medical topics archive

Copyright 2004 - 2008 cellphonetopics.com