Post by Isaachttp://en.wikipedia.org/wiki/Bluetooth#Bluetooth_2.1_.2B_EDR
"Extended inquiry response (EIR)
Provides more information during the inquiry procedure to allow better
filtering of devices before connection. This information may include the
name of the device, a list of services the device supports, the transmission
power level used for inquiry responses, and manufacturer defined data."
It would be very interesting to see what device info is in that hole. Can
you get into that? It could be very fruitful.
Yes, I wasn't aware of that extension, so it's outside my
experience. Maybe this helps:
[***@localhost ~]$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Post by Isaacimport bluetooth
dir(bluetooth)
['ADVANCED_AUDIO_CLASS', 'ADVANCED_AUDIO_PROFILE', 'AUDIO_SINK_CLASS',
'AUDIO_SINK_PROFILE', 'AUDIO_SOURCE_CLASS',
'AUDIO_SOURCE_PROFILE', 'AVCTP_UUID', 'AVDTP_UUID', 'AV_CLASS',
'AV_PROFILE', 'AV_REMOTE_CLASS', 'AV_REMOTE_PROFILE',
'AV_REMOTE_TARGET_CLASS', 'AV_REMOTE_TARGET_PROFILE',
'BASIC_PRINTING_CLASS', 'BASIC_PRINTING_PROFILE',
'BLUETOOTH_PROFILE_DESCRIPTOR_LIST_ATTRID', 'BNEP_UUID',
'BROWSE_GROUP_LIST_ATTRID', 'BROWSE_GRP_DESC_CLASS',
'BROWSE_GRP_DESC_PROFILE', 'BluetoothError', 'BluetoothSocket',
'CIP_CLASS', 'CIP_PROFILE', 'CLIENT_EXECUTABLE_URL_ATTRID',
'CMTP_UUID', 'CORDLESS_TELEPHONY_CLASS',
'CORDLESS_TELEPHONY_PROFILE', 'DIALUP_NET_CLASS',
'DIALUP_NET_PROFILE', 'DIRECT_PRINTING_CLASS',
'DIRECT_PRINTING_PROFILE', 'DIRECT_PRT_REFOBJS_CLASS',
'DIRECT_PRT_REFOBJS_PROFILE', 'DOCUMENTATION_URL_ATTRID',
'DeviceDiscoverer', 'FAX_CLASS', 'FAX_PROFILE', 'FTP_UUID',
'GENERIC_AUDIO_CLASS', 'GENERIC_AUDIO_PROFILE',
'GENERIC_FILETRANS_CLASS', 'GENERIC_FILETRANS_PROFILE',
'GENERIC_NETWORKING_CLASS', 'GENERIC_NETWORKING_PROFILE',
'GENERIC_TELEPHONY_CLASS', 'GENERIC_TELEPHONY_PROFILE',
'GN_CLASS', 'GN_PROFILE', 'HANDSFREE_AGW_CLASS',
'HANDSFREE_AGW_PROFILE', 'HANDSFREE_CLASS', 'HANDSFREE_PROFILE',
'HCI', 'HCRP_CTRL_UUID', 'HCRP_DATA_UUID', 'HCRP_NOTE_UUID',
'HCR_CLASS', 'HCR_PRINT_CLASS', 'HCR_PRINT_PROFILE',
'HCR_PROFILE', 'HCR_SCAN_CLASS', 'HCR_SCAN_PROFILE',
'HEADSET_AGW_CLASS', 'HEADSET_AGW_PROFILE', 'HEADSET_CLASS',
'HEADSET_PROFILE', 'HIDP_UUID', 'HID_CLASS', 'HID_PROFILE',
'HTTP_UUID', 'ICON_URL_ATTRID', 'IMAGING_ARCHIVE_CLASS',
'IMAGING_ARCHIVE_PROFILE', 'IMAGING_CLASS', 'IMAGING_PROFILE',
'IMAGING_REFOBJS_CLASS', 'IMAGING_REFOBJS_PROFILE',
'IMAGING_RESPONDER_CLASS', 'IMAGING_RESPONDER_PROFILE',
'INTERCOM_CLASS', 'INTERCOM_PROFILE', 'IP_UUID',
'IRMC_SYNC_CLASS', 'IRMC_SYNC_CMD_CLASS',
'IRMC_SYNC_CMD_PROFILE', 'IRMC_SYNC_PROFILE', 'L2CAP',
'L2CAP_OPTIONS', 'L2CAP_UUID',
'LANGUAGE_BASE_ATTRID_LIST_ATTRID', 'LAN_ACCESS_CLASS',
'LAN_ACCESS_PROFILE', 'NAP_CLASS', 'NAP_PROFILE',
'OBEX_FILETRANS_CLASS', 'OBEX_FILETRANS_PROFILE',
'OBEX_OBJPUSH_CLASS', 'OBEX_OBJPUSH_PROFILE', 'OBEX_UUID',
'PANU_CLASS', 'PANU_PROFILE', 'PNP_INFO_CLASS',
'PNP_INFO_PROFILE', 'PORT_ANY', 'PRINTING_STATUS_CLASS',
'PRINTING_STATUS_PROFILE', 'PROTOCOL_DESCRIPTOR_LIST_ATTRID',
'PROVIDER_NAME_ATTRID', 'PUBLIC_BROWSE_GROUP',
'REFERENCE_PRINTING_CLASS', 'REFERENCE_PRINTING_PROFILE',
'REFLECTED_UI_CLASS', 'REFLECTED_UI_PROFILE', 'RFCOMM',
'RFCOMM_UUID', 'SAP_CLASS', 'SAP_PROFILE', 'SCO',
'SDP_SERVER_CLASS', 'SDP_SERVER_PROFILE', 'SDP_UUID',
'SERIAL_PORT_CLASS', 'SERIAL_PORT_PROFILE',
'SERVICE_AVAILABILITY_ATTRID', 'SERVICE_CLASS_ID_LIST_ATTRID',
'SERVICE_DESCRIPTION_ATTRID', 'SERVICE_ID_ATTRID',
'SERVICE_INFO_TIME_TO_LIVE_ATTRID', 'SERVICE_NAME_ATTRID',
'SERVICE_RECORD_HANDLE_ATTRID', 'SERVICE_RECORD_STATE_ATTRID',
'SOL_L2CAP', 'SOL_RFCOMM', 'TCP_UUID', 'TCS_AT_UUID',
'TCS_BIN_UUID', 'UDI_MT_CLASS', 'UDI_MT_PROFILE',
'UDI_TA_CLASS', 'UDI_TA_PROFILE', 'UDI_UUID', 'UDP_UUID',
'UPNP_CLASS', 'UPNP_IP_CLASS', 'UPNP_IP_PROFILE',
'UPNP_L2CAP_CLASS', 'UPNP_L2CAP_PROFILE', 'UPNP_LAP_CLASS',
'UPNP_LAP_PROFILE', 'UPNP_PAN_CLASS', 'UPNP_PAN_PROFILE',
'UPNP_PROFILE', 'UPNP_UUID', 'VIDEO_CONF_CLASS',
'VIDEO_CONF_GW_CLASS', 'VIDEO_CONF_GW_PROFILE',
'VIDEO_CONF_PROFILE', 'VIDEO_SINK_CLASS', 'VIDEO_SINK_PROFILE',
'VIDEO_SOURCE_CLASS', 'VIDEO_SOURCE_PROFILE', 'WAP_CLASS',
'WAP_CLIENT_CLASS', 'WAP_CLIENT_PROFILE', 'WAP_PROFILE',
'WSP_UUID', '__builtins__', '__doc__', '__file__', '__name__',
'__path__', '_bluetooth', '_dbg', 'advertise_service', 'array',
'binascii', 'bluez', 'btcommon', 'discover_devices', 'fcntl',
'find_service', 'is_valid_address', 'is_valid_uuid',
'lookup_name', 'os', 'sdp_make_data_element',
'sdp_parse_data_element', 'sdp_parse_data_elementSequence',
'sdp_parse_int', 'sdp_parse_raw_record', 'sdp_parse_size_desc',
'sdp_parse_uuid', 'set_l2cap_mtu', 'set_packet_timeout',
'stop_advertising', 'struct', 'sys', 'to_full_uuid']
Post by Isaacyes, I have confirmed that the maker's ID # is encoded into the BD_ADDR,
however the model # seems to be a guessing game. I was hoping it is always
there, but you feel it is at the whim of the maker's discression. What do
you base this conclusion on?
Just my interpretation of some reference you turned up a few
replies ago.
Post by IsaacDo you think that their manufacturer block is only in this 16 bit (4 Hex
digit) NAP portion of the BD_ADDR or can they extend there make/model codes
into the lower/upper parts (LAP or UAP)?
I'm just holding that possibility open. I'm not working on any
Bluetooth projects at the moment. Otherwise I'd be more active
in chasing down some of this new stuff.
Post by Isaacthis makes good sense. do you have any feel for what happens most of the
time?
I think most devices will behave in the way you hope.
John