Joang ho Lokisa Boemo ba Feasycom Bluetooth Audio Module Ka Litaelo tsa AT?

Tafole ea likateng

Mojule oa Bluetooth Audio oa Feasycom o kenyelletsa letoto la li-profaele bakeng sa lits'ebetso tsa phetiso ea data le molumo. Ha bahlahisi ba ngola le ho lokisa mananeo, hangata ba hloka ho hlophisa ts'ebetso ea firmware ea module. Ka hona, Feasycom e fana ka sete ea litaelo tsa AT tse nang le sebopeho se itseng ho thusa bahlahisi ho hlophisa li-profiles neng kapa neng, kae kapa kae. Sengoliloeng sena se tla hlahisa mokhoa oa ho sebelisa litaelo tsena tsa AT ho bahlahisi ba sebelisang li-module tsa Feasycom Bluetooth Audio.

Taba ea pele, sebopeho sa litaelo tsa AT tsa Feasycom ke tse latelang:

AT+Command{=Param1{,Param2{,Param3...}}}

Hlokomela:

- Litaelo tsohle li qala ka "AT" 'me li qetella ka " "

- " " e emela ho khutla ha koloi, e tsamaellanang le "HEX" joalo ka "0x0D"

- " " e emela phepelo ea mohala, e tsamaellanang le "HEX" joalo ka "0x0A"

- Haeba taelo e kenyelletsa liparamente, litekanyetso li lokela ho aroloa ka "="

- Haeba taelo e kenyelletsa liparamente tse ngata, li-parameter li lokela ho aroloa ka ","

- Haeba taelo e na le karabo, karabo e qala ka " "mme e qetella ka" "

- Mojule o lokela ho lula o khutlisa sephetho sa ts'ebetso ea taelo, ho khutlisa "OK" bakeng sa katleho le ERR for failure (the figure below lists the meanings of all ERR )

Khoutu ea Phoso | Tlhaloso

------------|--------

001 | E hlolehile

002 | Paramethara e fosahetseng

003 | Boemo bo fosahetseng

004 | Taelo e fapaneng

005 | Phathahane

006 | Taelo ha e tšehetsoe

007 | Profaele ha e ea buloa

008 | Ha ho mohopolo

Tse ling | E boloketsoe tšebeliso ea nako e tlang

E latelang ke mehlala e 'meli ea liphetho tsa taelo ea AT:

  1. Bala lebitso la Bluetooth la mojule

<< KA+ VER

>> +VER=FSC-BT1036-XXXX

>> Ho lokile

  1. Araba mohala ha ho se na mohala o kenang

<< AT+HFPANSW

>> ERR003

Ka mor'a moo, ha re thathamiseng li-profile tse sebelisoang hangata joalo ka ha li bonts'itsoe ka tlase:

- SPP (Serial Port Profile)

- GATTS (Karolo e akaretsang ea Boemo ba LE-Peripheral role)

- GATTC (Karolo ea Boemo ba Kakaretso ea LE-Central)

- HFP-HF (Profaele e se nang Matsoho)

- HFP-AG (Hands-Free-AG Profile)

- A2DP-Sink (Profaele e tsoetseng pele ea kabo ea molumo)

- A2DP-Mohloli (Profaele e tsoetseng pele ea Phano ea Molumo)

- AVRCP-Controller (Profaele ea "Audio/Video controller" e hole)

- AVRCP-Target (Profaele ea "Audio / Video controller" e hole)

- HID-DEVICE (Profaele ea Sehokelo sa Motho)

- PBAP (Profaele ea phihlello ea buka ea mohala)

- iAP2 (Bakeng sa lisebelisoa tsa iOS)

Qetellong, re thathamisa litaelo tse tsamaellanang tsa AT bakeng sa lintlha tse boletsoeng ka holimo tafoleng e ka tlase:

Taelo | HO+PROFILE{=Param}

Pama | E hlahisitsoe e le sebaka sa palo ea decimal, karolo e 'ngoe le e 'ngoe e emela

BIT[0] | SPP (Serial Port Profile)

BIT[1] | Seva ea GATT (Tlhahiso ea Boemo ba Kakaretso)

BIT[2] | Moreki oa GATT (Tlhahiso ea Boemo ba Kakaretso)

NYENYANE[3] | HFP-HF (Hands-Free Profile Handsfree)

BIT[4] | HFP-AG (Hands-Free Profile Audio Gateway)

BIT[5] | A2DP Sink (Profaele e Tsoetseng Pele ea Phano ea Molumo)

BIT[6] | Mohloli oa A2DP (Profaele e tsoetseng pele ea Phano ea Molumo)

BIT[7] | AVRCP Controller (Profaele ea taolo e hole ea molumo / Video)

BIT[8] | Target ea AVRCP (Profaele ea taolo e hole ea Audio/Video)

BIT[9] | HID Keyboard (Profaele ya Sehokelo sa Motho)

NYENYANE[10] | Seva ea PBAP (Profaele ea phihlello ea libuka tsa mohala)

BOHLOKOA[15] | iAP2 (Bakeng sa lisebelisoa tsa iOS)

Karabo | +PROFILE=Parame

Hlokomela | Lintlha tse latelang li ke ke tsa lumelloa ka nako e le 'ngoe ka litaelo tsa AT:

- Seva ea GATT le moreki oa GATT

- HFP Sink le Mohloli oa HFP

- Sink ea A2DP le Mohloli oa A2DP

- Molaoli oa AVRCP le sepheo sa AVRCP

Ho sebelisa litaelo tsa AT ho lokisa Profile of Feasycom Bluetooth Audio Module e kenngoa ts'ebetsong ka mokhoa oa binary lenaneong la firmware. Litekanyetso li hloka ho hlophisoa ka ho fetolela maemo a BIT a tšoanang ho linomoro tsa decimal. Mehlala e meraro ke ena:

1. Bala boemo ba hajoale

<< KA+PALE

>> +PROFILE=1195

2. Numella feela HFP Source le A2DP Source, thibela tse ling (ke hore, BIT[4] le BIT[6] ka bobeli ke 1 ho binary, 'me maemo a mang a BIT ke 0, kakaretso ea decimal e fetotsoeng ke 80)

<< AT+PROFILE=80

>> Ho lokile

3. Numella feela HFP Sink le A2DP Sink, thibela tse ling (ke hore, BIT[3] le BIT[5] ka bobeli ke 1 ho binary, 'me maemo a mang a BIT ke 0, kakaretso ea decimal e fetotsoeng ke 40)

<< AT+PROFILE=40

>> Ho lokile

Litaelo tse felletseng tsa AT li ka fumanoa ho bukana ea mananeo a akaretsang a sehlahisoa se fanoeng ke Feasycom. Ka tlase ke lihokelo tse 'maloa tsa mantlha tsa mojule oa audio oa Bluetooth:

- FSC-BT1036C (Master-Slave e kopantsoe, e ka fetola lipakeng tsa mesebetsi ea makhoba a audio le ea makhoba ka litaelo)

- FSC-BT1026C (E ts'ehetsa ts'ebetso ea lekhoba la audio le ts'ebetso ea TWS)

- FSC-BT1035 (E tšehetsa tšebetso ea audio master)

Scroll ho Top