Example | Content |
---|
Purpose : Switch from Current Interface (ex: USB-HID) to BLE Client, EVK Board , (USB-CDC, 921600,8,N,1) |
Xml |
xmlDJango1<CheckMethod xmlFileRef...>SwitchInterface</>truetruexmlMidnight1Interface.xmltruetrue01 <CheckMethod xmlFileRef="Interface.xml" usedInterface="DA145858_..."> SwitchInterface</>
01.1 UTS calls "CheckMethod" type service : SwitchInterface, keyword
switch current communication interface (ex:USB-HID).
UTS disconnects current Comm Interface .
01.2 to the new interface, defined in "Interface.xml" , "DA14585_..."
UTS connects new interface to the other device.define the step's name.
02. <CheckMethod> = UTS invokes "CheckMethod" type routines
value=SwitchInterface = UTS switches current comm interface to the other one.
Ex: switch USB-HID to USB-CDC (921600,8,N,1).
03. attr "xmlFileRef="Interface.xml" usedInterface="DA14585_..." =
These attributes define Destination comm interface , defined in Interface.xml 's DA14585 block.
Interface.xml
01. Check <Interface name = "DA14585_ConnStart_RS232">...</> comm interface block
02. Check layer1 sub block <Parameters>...</>, as USB-CDC/UART/COM Port parameters.
Note: USB-CDC now is normally with 921600 baud-rate.
03. <Protocol>...</> block defines the command format and its protocol type.
Here is "ATCMD". for DA14585.