реклама на сайте
подробности

 
 
> Вопрос по LMX9820A, ушел в себя...
Aquatik
сообщение Dec 28 2006, 12:47
Сообщение #1


Частый гость
**

Группа: Свой
Сообщений: 156
Регистрация: 24-05-05
Из: Москва
Пользователь №: 5 354



Работал с модулем на основе LMX9820A.. Все ок.. Причем ручками особо ничего не писал, пользовался программой SimplyBlueCommander. После определеной команды, так и не понял какой, блок ушел в ошибку! Теперь на любой запрос отдает одно и тоже 0х18 и 0хF8. В описании на модуль нашел эту ошибку - 0х18 ERROR_MAXIMUM_NO_OF_SERVICE_RECORDS_REACHED. И все приплыл, как из этого режима его вывести, фиг знает!! Все перепробывал.... За любый советы и предложения заранее огромный респект!!!


--------------------
BST RGDS,
Aquatik...
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
Aquatik
сообщение Jan 9 2007, 10:45
Сообщение #2


Частый гость
**

Группа: Свой
Сообщений: 156
Регистрация: 24-05-05
Из: Москва
Пользователь №: 5 354



Цитата(The Fresh @ Jan 1 2007, 11:16) *
Сам собираюсь заняться данным девайсом, поэтому есть документация. На мой взгляд тебе поможет вот эта глава из LMX9820_SW_UG_1.6.1

5.2.13Local Service Database Configuration
The LMX9820A allows the modification of the Local Service Discovery Database. On default, the service database contains one entry configured at RFComm port 1 for a Serial Port Profile, Authentication and Encryption enabled.
If the application needs to open a second connection to another device, the dedicated service has to be registered into the database and the registered RFComm port has to be opened (see Section 5.2.12.1). The service entry in general includes information about the name of the service, which appears on a remote device after browsing, the port number and security settings.
Each registered service entry itself can be enabled or disabled. This allows to have different services registered to one specific com port enabling and disabling them by needs.
In addition the command set allows to add besides SPP also DUN, FAX, OPP, FTP and SYNC profiles by one command. Each with the profile specific settings needed.
The service records are stored in a database like system within the NVS, so they are still available after reset. The storage of an entry is confirmed by the LMX9820A with a specific record identifier. This identifier is needed for the Enabling or Disabling
command to address those specific entries.

В добавок таме есть команда стирания

Table 5-118. SDP Delete SDP Record Request
Description
This command is used to delete all stored SDP records in the LMX9820A.
Firmware 5.xx
PacketType REQ
Opcode DELETE_SDP_RECORDS
DataLength 0
Data None

И ответ т.е. confirm на нее

Table 5-119. SDP Delete SDP Record Confirm
Description
Confirms the request above
Firmware 5.xx
PacketType CFM
Opcode DELETE_SDP_RECORDS
DataLength 1

Насколько я понял этот девайс сохраняет настройки о тех с кем общался даже после выключения. Надеюсь тебе это поможет.

К сожалению это не помогло.... Тот же ответ 0х18,0хF8
Может кто нибудь поделиться прошивкой для этого девайса... Вижу пока только такой выход перепрошить angry.gif


--------------------
BST RGDS,
Aquatik...
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 2nd August 2025 - 02:27
Рейтинг@Mail.ru


Страница сгенерированна за 0.01378 секунд с 7
ELECTRONIX ©2004-2016