PREFACE About this Document Contents Preface............................... 7 About this Document .......................... 7 Contact Höft & Wessel AG ......................... 7 Product Overview ............................. 8 General Description ..........................8 Summary of Features ........................10 Principles of operation ........................11 2.3.1 DECT Network Entities ......................11 2.3.2 Connections ..........................
About this Document Preface About this Document HW 86012 and HW 86022 are delivered together with Höft & Wessel DECT firmware. The firmware is described within this document. For hardware-related information please see the HW 86012/22 Integration Manual. Contact Höft & Wessel AG For immediate assistance please address yourself to the Höft &...
The protocol stack has been implemented as firmware running on the micro controller of the HW 86012/22. It comprises the DECT protocol layers MAC (EN 300 175-3), DLC (EN 300 175-4) and NWK (EN 300 175-5). Data service is provided according to the DSP C.1/C.2 profile based on LU3 connection.
Page 9
PRODUCT OVERVIEW General Description Comparison of both protocols: Characteristic Connection based Packet based (CLDPS) Networking capability yes, 64 active subscribers per radio cell (= base station) TCP/IP capability Data rate 2x26 kBit/s for up/downlink, up to 500 kBit/s per radio cell, synchronous asynchronous Symmetry up/downlink...
PRODUCT OVERVIEW Summary of Features Summary of Features Feature Short description Air interface HW 86012: Compliant with DECT (EN 300 175) HW 86022: Compliant with FCC part 15 and EN 300 328 Protocols C-Plane according GAP (EN 300 444) Data transmission Connection Orientated: According DSP C.2...
FT may change its location or a PT may be stationary mounted. A HW 86012/22 can be configured either as PT or as FT. For the most simple case, a point- to-point connection between two modules, one side must be configured as PT and the other...
Different types of connections are defined by the DECT standard. E.g. a data connection differs very much from a voice connection. Most available DECT devices only support voice connections. This explains, why it is usually not possible to send data from a HW 86012/22 to a consumer type of DECT “base station”.
500 kbit/s per radio cell. Overview All functions of the HW 86012/22 are enabled by suitable firmware. This includes the processing of the DECT communication protocols, the control of interfaces and other features.
3.1.2.1 Selection by Reset Sequence See HW 86012/022 Integration Manual for details on the reset sequence. If the download mode is entered, the download protocol is invoked. See section 5.5. When the configuration mode is entered it will be executed using a baud rate of 9.600 bd.
In compliance with GAP the firmware supports on-air subscription of PTs, meaning that the subscription information is exchanged over the air interface. Through on-air subscription the HW 86012/22 can be subscribed to DECT equipment of other manufacturers. Offline subscription is an alternative subscription procedure that does not require any information exchange over the air interface.
According to the DECT standard a FT may own multiple ARIs, which are called PARI (primary ARI), SARIs (secondary ARIs) and TARIs (tertiary ARIs). In accordance with the GAP service profile (EN 300 444) HW 86012/22 supports one ARI which is then the PARI. SARIs and TARIs are not supported.
PT in a DECT network. The DECT standard allows other IPUI types and allows multiple IPUIs at a PT. HW 86012/22 (as PT) does not use IPUI types other than N. However HW 86012/22 (as FT) is interoperable with PTs that use a different IPUI type.
FIRMWARE DESCRIPTION System Security 3.2.1.3 Subscription Identities During the subscription procedure defined in the DECT standard a UAK (user authentication key) is created. This key represents a pair (FT, PT) and must be known by PT and FT since it is used for the authentication procedure. When the FT requests an authentication from a PT it tests the correct UAK.
FIRMWARE DESCRIPTION System Security 3.2.2 EasySubs EasySubs is a powerful technique for handling of subscription information in the FT. Conventional FT implementations include a table of all subscribed PTs with their UAKs. Since memory is limited, the FT may only support a very limited number of subscriptions. The EasySubs technique avoids storage of UAKs in the FT but provides an efficient means for on-demand computation of UAKs from other information already available.
FIRMWARE DESCRIPTION System Security 3.2.3 On-Air Subscription of Portable Terminals The firmware supports on-air subscription according to GAP. In on-air subscription the public information is transmitted by the FT over the air interface. The on-air subscription procedure is described below. Step 1 Enable on-air subscription by setting SIAIR ON.
FIRMWARE DESCRIPTION Data Mode Data Mode The data mode is used to transfer user data from the module's RS-232 interface to the DECT network and vice versa. Several modes of operation are available to fit different applications. 3.3.1 Point to Point Operation •...
Data Mode 3.3.3 Point to Multipoint Networking Operation These option are based upon CLDPS radio protocol. Typically, a set of HW 86012/22 modules (configured as PT) is used, operating to a wireles infrastructure consisting of HW 8614 Ethernet base stations connected to an Ethernet based loca area network (LAN).
CLDPS network to the LAN and WAN to any TCP/IP based server. There, the serial data stream can be terminated in a TCP socket connection. The HW 86012/22 module may be configured as a TCP/IP server (listening port) or client (active port) as required by the application. Protocols implemented in the software stack include TCP, IP, ARP, ICMP and DHCP.
Just plain user data are transferred on the interface. As a couple of HW 86012/22 clients may need to be multiplexed on the server side, a dedicated protocol is used internally in the modules: SWAP (Secure Wireless Access Protocol) is based on PPPoE (RFC 2516) and LAP and allows for protected data link with adequate performance on the DECT / CLDPS link and the wired LAN.
Data Mode 3.3.3.3 PPP Data Mode The HW 86012/22 module may be configured to operate a PPP server. The host application‘s PPP client may initiate a PPP connection to the module, having the opportunity to use it’s own IP address or to trigger the module to receive an IP address from the network using DHCP.
Whenever HW 86012/22 deactivates CTSO (CTSO goes high), the host shall stop output of data. HW 86012/22 tolerates up to 16 bytes being output by the host after deactivation of CTSO has occurred. The module activates CTSO again as soon as it is ready to accept more data from the host.
FIRMWARE DESCRIPTION Data Mode 3.3.4.3 Interworking of Modem lead Signals In transparent data mode the modem lead signals are available on the DTRI, DSRO, DCDIO and RIIO pins. DTRI, DCDIO and RIIO signals are interworked to the peer module. DTRI is always interworked to DSRO.
FIRMWARE DESCRIPTION Data Mode 3.3.4.4.1 Outgoing call, PT interface In order to request a call, the PT-side host shall activate the DTRI signal (i.e. pull it to low level). An established call is indicated to the host through an activation of the DSRO signal. The DSRO signal remains active for at least 10ms.
FIRMWARE DESCRIPTION Data Mode 3.3.4.4.3 Incoming call, PT interface A call request from a FT is signalled to the PT-side host by an activation of the DSRO signal. If the PT is in DCE mode, the call request is also signalled by an activation of the RIIO output signal (see SPECC command).
DSRO signal from the HW 86012/22 is inactive the call has been released. The HW 86012/22 shall indicate a call release from the FT or the network to its host by deactivating DSRO for at least 5 seconds. After this time has expired the host must deactivate DTRI during the following second unless a new call shall requested.
FIRMWARE DESCRIPTION Data Mode 3.3.4.5 Data Transmission This section describes the operational rules for data transmission in transparent data mode. 3.3.4.5.1 Alignment with call control Any data received from the host through the RS-232 interface while there is no call established will be discarded by the module.
FIRMWARE DESCRIPTION Data Mode 3.3.4.6 Example: Transparent Multipoint Mode In a configuration with 1 FT and 4 PTs the command SPMP ON on FT-side leads to the transparent multipoint mode (see SPMP command): FT to PT: FT sends 26-byte data packets to each connected PT. PT to FT: Each PT sends 26-byte data packets to FT.
Data Mode 3.3.4.7 Modem Lead Signals in CLDPS Mode The HW 86012/22 module provides a fully featured RS232 serial interface. The modem lead signals have enhanced functionality, depending on the data mode selected, the state of client or server configuration (SPTCPMODE resp. SPTM) and the configuration of enhanced call control (SPECC).
4. The protocol continues at step 1. By successful completion of step 3 any modified configuration data has been saved in the non-volatile memory of the HW 86012/22. 3.4.3 Leaving the Configuration Mode The configuration mode is terminated by a reset sequence or by the EXIT configuration command.
CONFIGURATION COMMANDS Configuration Command Overview Configuration Commands Configuration Command Overview The commands provided in configuration mode are given below: Command Description Hardware commands GHALL Get Hardware Data (list) GHTY Get Hardware Moduletype GHRSSI Get RSSI value GHQUAL Get quality values GHFL Get Hardware Flashtype SPANT...
Page 36
CONFIGURATION COMMANDS Configuration Command Overview Command Description Info commands GNALL Get Number Data (list) GNEMC Get Number EMC GNETH Get Ethernet MAC address GNDNR Get Number DECT Serial GNSER Get Number Production Serial GNUNR Get Serial Number of the Host Device TCP/IP configuration commands SPTCP Set Parameter TCP/IP Mode...
Page 37
CONFIGURATION COMMANDS Configuration Command Overview Command Description Identity commands SIAIR Set Identity Air Subscription Accept GIAIR Get Identity Air Subscription Accept SISUA Set Identity Subscription On-Air SISUB Set Identity Subscription Offline SISUD Set Identity Subscription Offline Direct GISUB Get Identity Subscriptions (list) DISUB Delete Identity Subscription GISK...
Page 38
CONFIGURATION COMMANDS Configuration Command Overview Command Description Other configuration commands GPALL Get Parameter Data (list) SPTM Set Parameter Termination GPTM Get Parameter Termination SPDSI Set Parameter Dial String Internal GPDSI Get Parameter Dial String Internal DPDSI Delete Parameter Dial String Internal SPDSD Set Parameter Dial String Default GPDSD...
CONFIGURATION COMMANDS Configuration Commands Reference Configuration Commands Reference 4.4.1 Hardware Commands 4.4.1.1 All hardware parameters: GHALL Syntax Command GHALL Response list of parameters Description Get a list of all hardware parameters. Return value(s) For an explanation of the response string see the respective commands individual...
Get the type of flash memory of the module. Return value(s) flash Manufacturer part number of the flash memory IC format: string Example Host: GHFL Module: AM29LV400 Application PT, FT Notes HW 86012 is delivered with different flash memory types. These are functionally equivalent. 2.10 • 19.01.2007...
Host: SPANT 1 Module: Application PT, FT Notes • Refer to HW 86012/22 Integration Manual • Fast antenna diversity switches to the antenna port with the strongest receive signal on a frame by frame basis during reception. Syntax Command GPANT Response <antenna>...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.2 Software-ID Commands 4.4.2.1 Software versioning parameters: GSALL Syntax Command GSALL Response list of all software versioning parameters Description Get a list of all software versioning parameters. Return value(s) For an explanation of the response string see the respective commands individual...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.3 Module Commands 4.4.3.1 Module parameters: GMALL Syntax Command GMALL Response list of all parameters Description Get a list of all module-specific parameters. Return value(s) For an explanation of the response string see the respective commands individual parameters.
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.3.3 Module bandgap: GMBG Syntax Command GMBG Response <bandgap> Description Get the module-specific bandgap parameter. Return value(s) bandgap Bandgap parameter format: decimal Example Host: GMBG Module: Application PT, FT Notes • The bandgap parameter is set during production in order to fine- adjust the core voltage of the module.
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.4.2 Value of radio test mode: SPCTR / GPCTR Syntax Command SPCTR <on/off> Response None Description Set the value of the radio test mode flag. Arguments Activate test mode format: string Deactivate test mode format: string Example Host: SPCTR ON...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.4.3 Value of CLDPS flag: SPCLDPS / GPCLDPS Syntax Command SPCLDPS <on/off> Response none Description Set the value of the CLDPS flag. Arguments Activate CLDPS format: string Deactivate CLDPS format: string Example Host: SPCLDPS ON Module: Application PT, FT...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.4.4 Multipoint flag: SPMP / GPMP Syntax Command SPMP <on/off> Response none Description Set the Multipoint flag. Arguments Multipoint selected format: string Multipoint not selected format: string Example Host: SPMP OFF Module: Application Notes • All characters received at serial RX of PTs (1 ...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.5.3 Own IP address: SPIPAD / GPIPAD Syntax Command SPIPAD <a.b.c.d> Response none Description defines own IP address Arguments(s) <a.b.c.d> own IP address format: value default: 0.0.0.0 Example Host: SPIPAD 192.168.0.50 Module: Application Notes The own address will not be used if DHCP is active, see SPDHCP. Syntax Command GPIPAD...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.5.5 IP netmask: SPIPNM / GPIPNM Syntax Command SPIPNM <a.b.c.d> Response none Description configures IP netmask Arguments(s) <a.b.c.d> IP netmask format: value default: 0.0.0.0 Example Host: SPIPNM 255.255.255.0 Module: Application Notes The netmask will not be used if DHCP is active, see SPDHCP and GSIPNM. Syntax Command GPIPNM...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.5.7 IP gateway: SPIPGW / GPIPGW Syntax Command SPIPGW <a.b.c.d> Response none Description defines static IP gateway address Arguments(s) <a.b.c.d> static IP gateway address format: value default: 0.0.0.0 Example Host: SPIPGW 192.168.0.1 Module: Application Notes The gateway address will not be used if DHCP is active, see SPDHCP.
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.6 Info Commands 4.4.6.1 Serial number parameters: GNALL Syntax Command GNALL Response list of all serial number parameters Description Get a list of all serial number parameters. Return value(s) For an explanation of the response string see the respective commands individual...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.6.3 MAC address: GNETH Syntax Command GNETH Response <eth> Description Get the ethernet MAC address. Return value(s) eth Ethernet address Format: hex-special, see example Example Host: GNETH Module: 00-30-2e-fb-b0-58 Application PT, FT Notes Relevant for CLDPS operation. 4.4.6.4 DECT serial number: GNDNR Syntax Command...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.6.6 Unit number: GNUNR Syntax Command GNUNR Response <unitno> Description Get the unit number of the module. Return value(s) unitno unit number format: decimal Example Host: GNUNR Module: 10723607 Application PT, FT Notes For hosted applications the <unitno> is the serial number of the Höft &...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.7.2 Air subscription identified by PARK: SISUA / SISUB / SISUD / GISUB / DISUB Syntax Command SISUA <park>, <pin> SISUA <pin> Response none Description Perform an on-air subscription of a PT at the FT identified by its PARK.
Page 64
CONFIGURATION COMMANDS Configuration Commands Reference Syntax Command SISUB <emc>,<dnr>,<pin>,<sk> SISUB <park> Response None Description Perform an offline subscription of a PT at the FT identified by ist EMC and DECT serial number or identified by ist PARK. Arguments EMC code of the FT to which the PT shall be subscribed Format: decimal DECT serial number of the FT to which the PT shall...
Page 65
CONFIGURATION COMMANDS Configuration Commands Reference Syntax Command SISUD <emc>,<dnr>,<pin> SISUD <park> Response None Description Perform a direct offline subscription of a PT at the FT identified by its EMC and DECT serial number or identified by its PARK. Only useable if SMK is 00000000. Arguments EMC code of the FT to which the PT shall be subscribed...
CONFIGURATION COMMANDS Configuration Commands Reference Syntax Command DISUB all DISUB <emc>, <dnr> Response none Description Delete a subscription entry from the PARK table of the PT. This clears an existing subscription of the PT from the referred FT. The alternative syntax formats allow the FT to be identified either by the pair <emc>, <dnr>...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.7.4 Identity PIN: SIPIN Syntax Command SIPIN <pin> Response none Description Program a new PIN code into the FT. The PIN code is needed by PTs that want to subscribe to the FT. Arguments PIN code, 1 to 8 digits format: decimal Example Host:...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.7.7 Access rights identity: SIARI / GIARI / DIARI Syntax Command SIARI <park>, <key>, <rpn> Response None Description Overwrites the ARI of a RFP with the ARI of another RFP (for multi- cell networks). Arguments park PARK code of the FT Format: PARK...
CONFIGURATION COMMANDS Configuration Commands Reference Syntax Command GPBD Response <baud> Description Get the value of the data rate of the RS-232 interface. Return value(s) baud See SPBD Example Host: GPBD Module: 115200 Application PT, FT Notes In configuration mode and download mode the actually used baud rate may be different from the configured baud rate.
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.9.5 User interface: SPUI / GPUI Syntax Command SPUI <led>,<key> Response none Description Set user interface. Arguments 0: led interface off, GPIO1 and GPIO2 are normal GPIOs 1: led interface on, GPIO1 controls the connection led (normally green) GPIO2 controls the configuration led (normally red)
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.10 Other Configuration Commands 4.4.10.1 Configurable parameters: GPALL Syntax Command GPALL Response list of all configurable parameters Description Get a list of all configurable parameters. Return value(s) For an explanation of the response string see the respective commands individual...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.10.2 Type of DECT termination: SPTM / GPTM Syntax Command SPTM <PT/FT> Response none Description Set the type of DECT termination. Arguments Module operates as PT format: string Module operates as FT format: string Example Host: SPTM PT Module:...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.10.3 Dial string internal: SPDSI / GPDSI / DPDSI Syntax Command SPDSI <emc>,<dnr> Response none Description Set Dial String for Internal call in transparent mode. This defines the -PT to which the FT will establish a connection upon activation of DTRI.
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.10.4 Dial string default: SPDSD / GPDSD / DPDSD Syntax Command SPDSD <emc>,<dnr> Response none Description Set Dial String for Default call in transparent mode. This defines the PT to which the FT will establish a connection upon activation of DTRI.
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.10.8 DPSCFG command Syntax Command DPSCFG Response None Description Disable Escape Sequence To Config Mode. Sets a variable in volatile memory, if this is set, switching from data mode to config mode with '+-+' sequence is impossible. Arguments none Example...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.10.10 Timeout value: SPTIMEOUT / GPTIMEOUT / DPTIMEOUT Syntax Command SPTIMEOUT <no>,<time> Response none Description Set the timeout value. Arguments 2: LAP layer repeat timeout. After lapse of time without packet confirmation packet transmission is repeated and retry counter is incremented (please see SPRETRY 2).
Page 88
CONFIGURATION COMMANDS Configuration Commands Reference Syntax Command GPTIMEOUT <no> Response <time> Description Get timeout value. Return value(s) no, See SPTIMEOUT time Example Host: GPTIMEOUT 3 Module: 5000 Application PT, FT Notes Timeout value 4 concerns PT only. Syntax Command DPTIMEOUT Response none Description...
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.11 General Commands 4.4.11.1 All data: GALL Syntax Command GALL Response list of selected parameters Description Get a list of all parameters. Return value(s) For an explanation of the response string see the respective commands individual parameters.
CONFIGURATION COMMANDS Configuration Commands Reference 4.4.11.2 Firmware diagnostics: CRC Syntax Command Response <crc1>,<crc2>,<crc3> Description Perform a self check of the firmware by computing a cyclic redundancy checksum over the content of the Flash EPROM. Return value(s) crc Computed 16 Bit cyclic redundancy checksum format: hexadecimal Example Host:...
5.1.1 General Description The HW 86012/22 implements data transmission according to the DECT standard DSP C.2 (EN 300 651). This standard uses the LU3 protocol, which consists in an error-protected frame relay (LU2) together with a LAP (link access protocol).
Page 92
APPENDIX Protocol Data Mode FT-side host PT 1 PT-side host 1 LAP 1 DECT RS 232 PT 2 PT-side host 2 LAP 2 DECT RS 232 PT 3 PT-side host 3 LAP 3 DECT RS 232 RS 232 PT 4 PT-side host 4 LAP 4 DECT...
APPENDIX Protocol Data Mode 5.1.2 Usage of RS-232 Interface 5.1.2.1 Connection of the interface In protocol data mode only the interface signals TXDI and RXDO are used. The modem lead signals DTRI, DSRO, DCDIO, and RIIO are not used. However the status of the lead signals can be signalled over the protocol data channel.
SAPI Call Handle: This 7-bit wide binary field is a unique identifier of a connection. Call handles are allocated by the HW 86012/22 during call establishment and are used throughout the call for addressing a specific connection. SAPI: This 2-bit wide field contains higher layer information. It identifies the service access point on the upper interface of the LAP protocol.
Protocol Data Mode 5.1.3.4 Data field (DATA) The variable length Data field is used to carry a LAP frame. The HW 86012 supports Data field of up to 26 bytes length. The length of the Data field is not explicitly signalled but derived at the receiver from the frame boundaries detected by flag fields.
APPENDIX Protocol Data Mode 5.1.4.2 Transparency The byte value 0x7E is reserved for the flag field of the HDLC frame (see section 5.1.2). If any of the address, data or FCS fields contains a byte with value 0x7E, it must be removed prior to transmission in order to avoid misinterpretation as flag field by the receiver.
APPENDIX Protocol Data Mode 5.1.5 LAP Protocol Overview LAP (link access protocol) is a widely spread protocol for safe data transmission. It provides end-to-end error correction and flow control for a data link. Each data link requires its own instance of LAP. There exist multiple variants of LAP which differ in some details of their frame structures and their ways to establish a connection.
APPENDIX Protocol Data Mode 5.1.6 LAP Information Elements A LAP frame consists in a control byte and an optional information field. LAP frame CONTR Information There are different frame types, information frames (I-frames) and supervisory frames (RR-, RNR-, REJ-, SABM- and UA-frames). CONTR: The 1-Byte wide control field defines the frame type and, depending on the frame type, other information element.
APPENDIX Protocol Data Mode 5.1.6.1 Information frames When data is transmitted over LAP, it is segmented into I-frames. Each I-frame is identified by a sequence number. This number is incremented for every new I-frame. When an I-frame is repeated, e.g. due to a detected transmission error, it retains its original sequence number.
M: The more bit indicates that a LAP frame is split on multiple HDLC frames and that another segment follows. HW 86012 does not support LAP frame split. The more bit is always 0. C/R: The command / response bit allows the distinction between command and response frames.
APPENDIX Protocol Data Mode 5.1.7 LAP Procedures This section describes the mechanisms behind and the operational procedures of the LAP protocol. The purpose is to provide additional illustration to the detailed protocol implementation as described in section 5.1.8. 5.1.7.1 States The LAP state machine is made-up by the following states: State Description...
APPENDIX Protocol Data Mode 5.1.7.3 Timers LAP requires two timers: • the LAP-establish timer DLU.02 with timeout period of 2.0 seconds • the retransmission timer DLU.04 with timeout period of 1.0 seconds Since only one timer is active at a time, an implementation may use a single instance of a timer object to realise both timers.
APPENDIX Protocol Data Mode 5.1.7.5 Sender procedures Sending I-frames When an I-frame is sent, its sequence number (i.e. the value of V(S)) is transmitted in the N(S) field of the control byte. V(S) is incremented directly after the transmission. Timer DLU.04 is started.
APPENDIX Protocol Data Mode 5.1.7.6 Receiver Procedures Receiving I-frames When an I-frame is received the following procedure applies: If the self busy condition is set, the frame is discarded. Otherwise the receiver checks if N(S) is equal to V(R). In this case the frame is accepted and its content is passed to the higher layer.
APPENDIX Protocol Data Mode 5.1.7.7 Establishment A LAP link is established under the following conditions: • The LAP for the command channel is established immediately when the protocol data mode is entered. • The LAP for a data channel is established when a call has been set-up using call control procedures in the command channel (see section 5.1.9).
APPENDIX Protocol Data Mode 5.1.8 SDL Representation of LAP Idle LapEstablish LapRelease Request Request I Command V(S)=0 LapRelease DISCARD V(A)=0 Indication INFORMATION V(R)=0 I Command Accept Establish V(S)=1 V(S)=0 V(A)=0 V(R)=1 CLEAR EXCEPTION CONDITIONS RC=0 RR Response START DLU.02 CLEAR EXCEPTION CONDITIONS LapEstablish...
Page 107
APPENDIX Protocol Data Mode Wait Establish LapRelease LapEstablish SABME Request Request I Command Command LapRelease LapError DISCARD Indication Indication A INFORMATION V(R)=0 V(R)=1 UA Response RR Response LapEstablish Indication STOP DLU.02 Idle Wait Establish Active Figure 8: SDL representation of LAP, part 2 2.10 •...
Page 108
APPENDIX Protocol Data Mode Wait Establish Timer DLU.02 RR Response REJ Response Expiry RC<N250 LapRelease V(S)=0 Indication V(R)=1 LapEstablish Indication I Command STOP DLU.02 V(S)=1 RC=RC+1 START DLU.02 Acti ve Wait Establish Idle Figure 9: SDL representation of LAP, part 3 2.10 •...
Page 109
APPENDIX Protocol Data Mode Acti ve LapRelease LapEstablish LapData I Frame Request Request Request Queued up LapRelease LapError PUT IN I QUEUE Timer Indication Indication A Recovery Peer Busy V(S) = V(A)+k I Frame GET NEXT Queued up I QUEUE ENTRY I Command V(S) = V(S)+1 CLEAR...
Page 110
APPENDIX Protocol Data Mode Acti ve Timer Send SABME DLU.04 UA Response Pending Ack Command Expiry LapError Timer Indication C Recovery Pending UA Response CLEAR RC=0 Ack Pending CLEAR EXCEPTION Timer Recovery CONDITIONS RC<N250 LapError RR Response Indication D DISCARD RC = RC+1 I QUEUE LapError...
APPENDIX Protocol Data Mode 5.1.9 Call Control Information Elements 5.1.9.1 General Description The call control protocol is an application in the command channel. It is identified by the value prot=0 in the HDLC ADDR byte (see section 5.1.3.2). Through the call control protocol host and module exchange all necessary signalling information for establishing and releasing calls.
5.1.9.2 ConnectInd Command Direction: Module -> Host Inform the host that the HW 86012/22 has established a call to a PT with the indicated IPUI. The information field has a size of 13 bytes. It is structured as follows: LAP Information field...
5.1.9.3 DisconnectInd Command Direction: Module -> Host Inform the host that the HW 86012/22 has released the call to a PT with the indicated IPUI. The information field has a size of 12 bytes. It is structured as follows: LAP Information field...
CMD: This 1-byte data field identifies the type of call control command. For a ConnectReq command CMD = 0x03. Handle: This 1-byte field is always set to 0. The call handle is assigned by the HW 86012. IPUI-Type: This 1-byte data field indicates the type of IPUI-Data. The value 0x00 indicates IPUI type N (see EN 300 175 part 6).
APPENDIX Protocol Data Mode 5.1.9.6 LocationInd Command Direction: Module => Host Request from FT to host, if a given PT is allowed to synchronise with the FT. The information field has a size of 12 bytes. It is structured as follows: LAP Information field Handle IPUI-Type...
APPENDIX Protocol Data Mode 5.1.9.7 LocationRes Command Direction: Host => Module Answer from host to FT concerning LocationInd; result value in parameter Loc-Result: RESULT_ACCEPT PT synchronises to FT RESULT_REJECT PT puts FT to a temporary blacklist and looks for another FT for synchronisation.
5.1.10.4 Call Release, PT initiated When a PT requests a call release, the HW 86012/22 (FT) immediately releases the call. After call release, the HW 86012/22 informs the host, by sending a DisconnectInd command. By reception of the DisconnectInd command, the call handle is no longer valid and must not be used by the host.
APPENDIX Protocol Data Mode 5.1.11 API of the dectprot.dll The dectprot.dll is a library containing functions for using the HW 86012/22 module. In the following the API of this .dll will be explained. 5.1.11.1 DECT_CALLBACK_FUNC_T Typedef typedef int(*DECT_CALLBACK_FUNC_T) int nChannel,...
APPENDIX Protocol Data Mode 5.1.11.2 DectInit Function int DectInit( int nNumPorts, char *apszPortNames[] ); Description Channel-layers initialisation and opening of the serial-devices of the DECT- modules. Parameter nNumPorts Number of the delivered COM-port-names. apszPortNames Pointer to array of char-pointers with serial-device- names (e.g.
APPENDIX Protocol Data Mode 5.1.11.6 DectClose Function int DectClose( int nChannel ); Description Close a special channel for activating data-receive. Parameter nChannel Channel-number Return < 0 Error Note A closed channel will ignore received data. 5.1.11.7 DectRead Function int DectRead( int nChannel, void *pBuf, int nMaxLen );...
APPENDIX Protocol Data Mode 5.1.11.9 DectConnectReq Function int DectConnectReq( int nModule, DECT_IPUI_T *pIpui, int nReason ); Description Prompt the device to establish connection. Parameter nModule DECT-module where the connection request shall be send to: Module 1 Module 2 all modules pIpui IPUI of the device which shall be called nReason...
APPENDIX Protocol Data Mode 5.1.11.12 DectGetLineStatus Function int DectGetLineStatus( int nChannel ); Description Prompt the device on a special channel for the line-state. Parameter nChannel Channel-number Return >= 0 Line-state (bitmapped, at this point of time always set to LINE_STATE_DSR) <...
APPENDIX Protocol Data Mode 5.1.11.16 DectGetTxPending Function int DectGetTxPending( int nChannel ); Description Prompt to get the number of bytes to be send (unverified data). Parameter nChannel Channel-number Return >= 0 Number of bytes to be send Error Note 5.1.11.17 DectLapStateCfm Function int DectLapStateCfm(...
APPENDIX Protocol Data Mode 5.1.11.19 DectSwitchRoaming Function int DectSwitchRoaming( int nChannel, int bOn ); Description Activate / deactivate roaming-support for a special channel. Parameter nChannel Channel-number != 0 Activate roaming – the events LapStateInd and LapStateReq will be raised Deactivate roaming (connections will always be new established) Return Error...
APPENDIX Protocol Data Mode 5.1.11.22 DectLapStateGetIpui Function int DectLapStateGetIpui( unsigned char *pLapState, DECT_IPUI_T *pIpui ); Description Acquire the IPUI of a lap-state. Parameter pLapState Secured lap-state at connection termination pIpui Destination-buffer for the IPUI Return Error Note 5.1.11.23 DectLapStateGetCallNr Function int DectLapStateGetCallNr( unsigned char *pLapState );...
APPENDIX Protocol Data Mode 5.1.11.25 DectReadTo Function int DectReadTo( int nChannel, void *pBuf, int nMaxLen, unsigned long timeoutMs ); Description Read the data from a channel with a timeout. Parameter nChannel Channel-number to read from pBuf Pointer to a buffer for returning the data nMaxLen Max.
APPENDIX Configuration of PPP Connections Configuration of PPP Connections A PPP implementation is required on the device hosting the HW 86012/22. 5.2.1 Dial-up Options The PPP dial-up procedure may applied using AT commands or Microsoft Direct Link protocol. 5.2.1.1 AT Commands The module implements an AT command handler which is active in PPP data mode (not in configuration mode), responding „OK“...
APPENDIX Serial Bus Protocol Serial Bus Protocol 5.3.1 Introduction For using the Data-Unwired DECT / FHSS modules in a point-to-multipoint system structure the CLDPS protocol was implemented, which is based on the transmission of ethernet frames. In case the modules shall neither be used in TCPIP nor SWAP mode, it is possbile to redirect ethernet traffic directly to the RS-232 interface.
APPENDIX Serial Bus Protocol 5.3.3 CLDPS CLDPS is a packet based protocol for connection-less data transfer through the DECT air interface. The advantages of the connection-less data transfer are: • the available system data capacity is dynamically distributed to the PTs according to the demand.
APPENDIX Serial Bus Protocol 5.3.3.4 Ethernet Interworking Hoeft & Wessel’s standard firmware provides ethernet frame transfer capabilities and includes the necessary interworking. Every module is delivered with its own ethernet MAC address, so that it can be directly addressed from the network. Every device attached to the radio module requires its own MAC address.
APPENDIX Serial Bus Protocol 5.3.4.2 Ethernet Frame Structure The frame used with serial bus protocol is structured similar to an ethernet frame. DestAddr SourceAddr Type/Len Data (6 Byte) (6 Byte) (2 Byte) (max. 1500 Byte) The order of transmission is from left to right. DestAddr Destination address.
APPENDIX Serial Bus Protocol First First=1 means the HDLC frame contains the first segment of an ethernet frame. Ethernet-Frames. For unsegmented frames always apply First=1. FrameNum HDLC frame number. Transmitter increments modulo 4 for each new HDLC frame. Last Last=1 means that HDLC frame contains the last segment of an ethernet frame.
APPENDIX Voice Mode 5.4 Voice Mode 5.4.1 Block Diagram The following diagram describes the audio path on HW 86012 and HW 86022 modules: analog ADPCM Digital Sigma- DECT G726 VXIP Filter Delta ADC transmit Preamp Encoder VXIN data stenable micatt...
Transmit byte 0x00 Acknowledgement token continue with pass two Any transmit must not pause more than 1 second. Otherwise the HW 86012/22 may timeout. If not otherwise noted, any receive must tolerate a pause of 2 seconds before the host timeouts.
Start new firmware Through reset of module Any transmit must not pause more than 1 second. Otherwise the HW 86012/22 may timeout. If not otherwise noted, any receive must tolerate a pause of 2 seconds before the host timeouts.
APPENDIX Download Protocol 5.5.3 Computation of CRC The following short piece of C-code describes the computation of a CRC for a block of bytes to be applied for firmware download: unsigned short CalculateCRC ( unsigned char *Block, /* array of bytes */ unsigned int BlockLen /* length of Block in bytes */ unsigned short crc = 0;...
ABBREVIATIONS Download Protocol Abbreviations access rights identity CLDPS connection-less DECT packet system cyclic redundancy checksum data communication equipment DECT digital enhanced cordless telecommunications data link control layer DECT serial number data service profile data terminal equipment ETSI manufacturer code frame check sequence FHSS frequency hopping spread spectrum fixed part number fixed termination...
Need help?
Do you have a question about the HW 86012 and is the answer not in the manual?
Questions and answers