Appendix A.7.2. | Driver Exposed Stats |
|
|
|
|
|
| |||
The driver is capable of exposing statistics about |
| its behavior in a Data Array. It is |
| |||||||
necessarytocreateaDataArraywithnamesim4100 | statsaspertheexamplebelow |
| ||||||||
anditwillbeupdatedbythedriver.Notethatth | estatnumbercorrespondstotheoffset. |
| ||||||||
Takecarenottopokeanyvaluesintothe1st10el |
| ementsofthisDataArray(offsets0to |
| |||||||
9).Doingsowilltriggerinternaldiagnosticsand | mayinterferewithnormaloperation. |
| ||||||||
Adifferentsetofstatsismaintainedforeachcon |
| nection. Eachconnectionuses100 |
| |||||||
elementsofthedataarray.Ensurethearraylengt |
| hislargeenoughiftheportnumberis |
| |||||||
large. |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
| Data_Arrays |
|
|
|
|
|
|
| ||
| Data_Array_Name, | Data_Format, |
|
| Data_Array_Length |
| ||||
| sim4100stats, | UINT16, |
|
| 1000 |
| ||||
Atrevision1.07aofthedriverandbefore,nostat | shadbeenexposed. |
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
| Stat |
| Stats |
|
|
|
|
| Description |
|
| number |
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
| |
| 10 | SIM4100_STAT_XPOINT_CARD |
|
|
|
| TheCardincpsfrommost |
| ||
|
|
|
|
| recentxpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 11 | SIM4100_STAT_XPOINT_POINT |
|
|
|
| ThePointincpsfrommost |
| ||
|
|
|
|
| recentxpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 12 | SIM4100_STAT_XPOINT_SUB |
|
|
|
| TheSubPointincpsfrom |
| ||
|
|
|
|
| mostrecentxpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 13 | SIM4100_STAT_XPOINT_QUALIFIER |
|
|
|
| TheQualifierfrommostrecent |
| ||
|
|
|
|
| xpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| TheQualifierfrommostrecent |
|
| 14 |
| SIM4100_STAT_XPOINT_QUALIFIER_AS_ENUM |
|
| xpointstore,storedasan |
| |||
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| bitstates |
|
|
|
|
|
|
|
|
|
| Thereportedstatefrommost |
|
| 15 | SIM4100_STAT_XPOINT_STATE |
|
|
|
| recentxpointstore.State |
| ||
|
|
|
|
| value:0FALSE/Normal1 |
| ||||
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| TRUE/Abnormal |
|
|
|
|
|
|
|
|
|
| Thereportedackstatefrom |
|
| 16 | SIM4100_STAT_XPOINT_ACK_STATE |
|
|
|
| mostrecentxpointstore.Ack |
| ||
|
|
|
|
| state:*=needsack,=acked |
| ||||
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| (always""forUorCstates) |
|
| 17 | SIM4100_STAT_XPOINT_HOUR |
|
|
|
| TheTimefrommostrecent |
| ||
|
|
|
|
| xpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 18 | SIM4100_STAT_XPOINT_MIN |
|
|
|
| TheTimefrommostrecent |
| ||
|
|
|
|
| xpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 19 | SIM4100_STAT_XPOINT_SEC |
|
|
|
| TheTimefrommostrecent |
| ||
|
|
|
|
| xpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 20 | SIM4100_STAT_XPOINT_DOW |
|
|
|
| TheDatefrommostrecent |
| ||
|
|
|
|
| xpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 21 | SIM4100_STAT_XPOINT_DAY |
|
|
|
| TheDatefrommostrecent |
| ||
|
|
|
|
| xpointstore |
| ||||
|
|
|
|
|
|
|
|
|
| |
| 22 | SIM4100_STAT_XPOINT_MONTH |
|
|
|
| TheDatefrommostrecent |
| ||
|
|
|
|
| xpointstore |
| ||||
|
|
|
|
|
|
|
|
|
|
FieldServer Technologies1991TarobCourtMilpitas,California95035USA | Web:www.fieldserver.com | |||
Tel:(408)2622299 | Fax:(408)2622296 | Toll_Free:8885091970 | email:support@fieldserver.com |