Wavenet Technology Pty Ltd. BM2900D 用户手册

下载
页码 147
Appendix B – SDK NCL-API and Port Server______________________ Boomer II User Manual & Integrator’s Guide 
Copyright Wavenet Technology © November 2003 
96 
BM210012WT37 
 
MSMQ 
MSMQ IN N 
MSMQ IN 1
Layer 1 (Physical) 
Layer 2 (Data) 
)))Li k)
  Layer 3  (Network) 
Level 4 (Transport )
 
Layer 6 (Presentation)
 
Serial Port  to modem
Message Router & NCL Interpreter 
Serial Port Drivers
      TX Queue 
Layer 5 (Session)
 
 
Wavenet NCL API Model 
 
Logical Architecture 
The following table lists the required functionality for the API per 
layer. The code forms a DLL, with only a subset of functions available 
for third party developers. 
 
LAYER NAME 
CONTENT 
FUNCTION 
7.  APPLICATION 
Application specific data. 
Applications are to initialise a RX MSMQ (Microsoft 
Message Queuing system) queue and open a session 
with the VDD by passing the RX queue handler. 
6. PRESENTATION 
LAYER 
Unused 
 
5. SESSION 
LAYER 
Unused 
 
4. TRANSPORT 
LAYER 
Unused 
 
3. NETWORK 
LAYER 
Router 
MSMQ is run as a device driver on the Pocket PC 
and is run from power up (i.e. Non-suspend mode). 
The VDD will post events (RCV messages etc) to all 
application RX queues enabled for that event. 
Responses to application requests will be posted to 
the calling application RX queue.  
The VDD process TX requests via a FIFO queue to 
the NCL Interpreter. The Host base routing or Peer-
to-Peer routing SDU formatting is contained in the 
NCL interpreter. 
2.  DATA LINK LAYER 
 
NCL Interpreter & 
Extender port – Serial 
Driver. 
Application NCL API function requests are processed 
via a FIFO queue. RPM responses or received data is 
tagged and encoded for the router as required Also 
the UART DLL that handles the extender port UART 
to modem communications resides in the link layer 
modules..