Debian Codegraph @

gobi-api/Gobi_2012-06-18-1054/GobiConnectionMgmt/GobiConnectionMgmtExports.cpp

raw
1 /*===========================================================================
2 FILE:
3 GobiConnectionMgmtExports.cpp
4
5 DESCRIPTION:
6 QUALCOMM Gobi Connection Management API exports
7
8 Copyright (c) 2012, Code Aurora Forum. All rights reserved.
9
10 Redistribution and use in source and binary forms, with or without
11 modification, are permitted provided that the following conditions are met:
12 * Redistributions of source code must retain the above copyright
13 notice, this list of conditions and the following disclaimer.
14 * Redistributions in binary form must reproduce the above copyright
15 notice, this list of conditions and the following disclaimer in the
16 documentation and/or other materials provided with the distribution.
17 * Neither the name of Code Aurora Forum nor
18 the names of its contributors may be used to endorse or promote
19 products derived from this software without specific prior written
20 permission.
21
22
23 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 POSSIBILITY OF SUCH DAMAGE.
34 ==========================================================================*/
35
36 //---------------------------------------------------------------------------
37 // Include Files
38 //---------------------------------------------------------------------------
39 #include "StdAfx.h"
40 #include "GobiConnectionMgmt.h"
41
42 /*=========================================================================*/
43 // Exported Methods
44 /*=========================================================================*/
45
46 /*===========================================================================
47 METHOD:
48 GobiConnect
49
50 DESCRIPTION:
51 This function connects the CM API library to the specified Gobi
52 device
53
54 PARAMETERS:
55 pQMIFile [ I ] - Device interface to connect to
56 pServicesCount [I/O] - Upon input the number of QMI services to connect to,
57 upon output the number of QMI services successfully
58 connected to
59 pServices [I/O] - Upon input the array of QMI service IDs to connect
60 to, upon output the array of QMI service IDs
61 successfully connected to
62 pHandle [ O ] - The returned Gobi interface handle
63
64 RETURN VALUE:
65 ULONG - Return code
66 ===========================================================================*/
67 ULONG GobiConnect(
68 LPCSTR pInterface,
69 ULONG * pServicesCount,
70 ULONG * pServices,
71 GOBIHANDLE * pHandle )
72 {
73 // Validate arguments
74 if ( (pInterface == 0)
75 || (pServicesCount == 0)
76 || (*pServicesCount == 0)
77 || (pServices == 0)
78 || (pHandle == 0) )
79 {
80 return (ULONG)eGOBI_ERR_INVALID_ARG;
81 }
82
83 GOBIHANDLE handle = gDLL.CreateAPI();
84 if (handle == 0)
85 {
86 return (ULONG)eGOBI_ERR_INTERNAL;
87 }
88
89 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
90 if (pAPI == 0)
91 {
92 return (ULONG)eGOBI_ERR_INTERNAL;
93 }
94
95 ULONG svcCount = *pServicesCount;
96 *pServicesCount = 0;
97 *pHandle = 0;
98
99 std::set <eQMIService> inSvcs;
100 std::set <eQMIService> outSvcs;
101
102 ULONG s = 0;
103 for (s = 0; s < svcCount; s++)
104 {
105 inSvcs.insert( (eQMIService)pServices[s] );
106 }
107
108 outSvcs = pAPI->Connect( pInterface, inSvcs );
109
110 ULONG outSvcsCount = (ULONG)outSvcs.size();
111 if (outSvcsCount > svcCount)
112 {
113 outSvcsCount = svcCount;
114 }
115
116 if (outSvcsCount == 0)
117 {
118 ULONG rc = (ULONG)pAPI->GetCorrectedLastError();
119 pAPI = 0;
120
121 gDLL.DeleteAPI( handle );
122 return rc;
123 }
124
125 std::set <eQMIService>::const_iterator pOutSvc = outSvcs.begin();
126 for (s = 0; s < svcCount; s++)
127 {
128 pServices[s] = UCHAR_MAX;
129 if (s < outSvcsCount)
130 {
131 pServices[s] = (ULONG)*pOutSvc++;
132 }
133 }
134
135 *pHandle = handle;
136 *pServicesCount = outSvcsCount;
137
138 return (ULONG)eGOBI_ERR_NONE;
139 }
140
141 /*===========================================================================
142 METHOD:
143 GobiCancel
144
145 DESCRIPTION:
146 This function cancels the most recent outstanding request for the
147 specified QMI service
148
149 PARAMETERS:
150 handle [ I ] - Gobi interface handle
151 svcID [ I ] - Service whose outstanding request is to be cancelled
152 pTXID [ O ] - QMI transaction ID of outstanding request
153
154 RETURN VALUE:
155 ULONG - Return code
156 ===========================================================================*/
157 ULONG GobiCancel(
158 GOBIHANDLE handle,
159 ULONG svcID,
160 ULONG * pTXID )
161 {
162 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
163 if (pAPI == 0)
164 {
165 return (ULONG)eGOBI_ERR_INTERNAL;
166 }
167
168 return (ULONG)pAPI->CancelSend( svcID, pTXID );
169 }
170
171 /*===========================================================================
172 METHOD:
173 GobiDisconnect
174
175 DESCRIPTION:
176 This function disconnects the CM API library from the currently
177 connected Gobi device
178
179 PARAMETERS:
180 handle [ I ] - Gobi interface handle
181
182 RETURN VALUE:
183 ULONG - Return code
184 ===========================================================================*/
185 ULONG GobiDisconnect( GOBIHANDLE handle )
186 {
187 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
188 if (pAPI == 0)
189 {
190 return (ULONG)eGOBI_ERR_INTERNAL;
191 }
192
193 bool bDisco = pAPI->Disconnect();
194 if (bDisco == false)
195 {
196 return (ULONG)pAPI->GetCorrectedLastError();
197 }
198
199 return (ULONG)eGOBI_ERR_NONE;
200 }
201
202 /*===========================================================================
203 METHOD:
204 SetGenericCallback
205
206 DESCRIPTION:
207 This function enables/disables a generic callback
208
209 PARAMETERS:
210 handle [ I ] - Gobi interface handle
211 svcID [ I ] - Service ID to monitor
212 msgID [ I ] - Message ID to look for
213 pCallback [ I ] - Callback function
214
215 RETURN VALUE:
216 ULONG
217 ===========================================================================*/
218 ULONG SetGenericCallback(
219 GOBIHANDLE handle,
220 ULONG svcID,
221 ULONG msgID,
222 tFNGenericCallback pCallback )
223 {
224 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
225 if (pAPI == 0)
226 {
227 return (ULONG)eGOBI_ERR_INTERNAL;
228 }
229
230 return (ULONG)pAPI->SetGenericCallback( svcID,
231 msgID,
232 pCallback,
233 handle );
234 }
235
236 /*===========================================================================
237 METHOD:
238 WDSReset
239
240 DESCRIPTION:
241 The function sends 'WDS/Reset Request' (0x0000)
242 and returns the response
243
244 PARAMETERS:
245 handle [ I ] - Gobi interface handle
246 to [ I ] - Timeout for transaction (in milliseconds)
247 inLen [ I ] - Reserved for future use (set to 0)
248 pIn [ I ] - Reserved for future use (set to 0)
249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
250 contain, upon output the number of BYTEs copied
251 to pOut
252 pOut [ O ] - Output buffer
253
254 RETURN VALUE:
255 ULONG - Return code
256 ===========================================================================*/
257 ULONG WDSReset(
258 GOBIHANDLE handle,
259 ULONG to,
260 ULONG inLen,
261 const BYTE * pIn,
262 ULONG * pOutLen,
263 BYTE * pOut )
264 {
265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
266 if (pAPI == 0)
267 {
268 return (ULONG)eGOBI_ERR_INTERNAL;
269 }
270
271 ULONG svcID = 1;
272 ULONG msgID = 0;
273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
274 }
275
276 /*===========================================================================
277 METHOD:
278 WDSSetEventReport
279
280 DESCRIPTION:
281 The function sends 'WDS/Set Event Report Request' (0x0001)
282 and returns the response
283
284 PARAMETERS:
285 handle [ I ] - Gobi interface handle
286 to [ I ] - Timeout for transaction (in milliseconds)
287 inLen [ I ] - Length of input buffer
288 pIn [ I ] - Input buffer
289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
290 contain, upon output the number of BYTEs copied
291 to pOut
292 pOut [ O ] - Output buffer
293
294 RETURN VALUE:
295 ULONG - Return code
296 ===========================================================================*/
297 ULONG WDSSetEventReport(
298 GOBIHANDLE handle,
299 ULONG to,
300 ULONG inLen,
301 const BYTE * pIn,
302 ULONG * pOutLen,
303 BYTE * pOut )
304 {
305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
306 if (pAPI == 0)
307 {
308 return (ULONG)eGOBI_ERR_INTERNAL;
309 }
310
311 ULONG svcID = 1;
312 ULONG msgID = 1;
313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
314 }
315
316 /*===========================================================================
317 METHOD:
318 WDSAbort
319
320 DESCRIPTION:
321 The function sends 'WDS/Abort Request' (0x0002)
322 and returns the response
323
324 PARAMETERS:
325 handle [ I ] - Gobi interface handle
326 to [ I ] - Timeout for transaction (in milliseconds)
327 inLen [ I ] - Length of input buffer
328 pIn [ I ] - Input buffer
329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
330 contain, upon output the number of BYTEs copied
331 to pOut
332 pOut [ O ] - Output buffer
333
334 RETURN VALUE:
335 ULONG - Return code
336 ===========================================================================*/
337 ULONG WDSAbort(
338 GOBIHANDLE handle,
339 ULONG to,
340 ULONG inLen,
341 const BYTE * pIn,
342 ULONG * pOutLen,
343 BYTE * pOut )
344 {
345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
346 if (pAPI == 0)
347 {
348 return (ULONG)eGOBI_ERR_INTERNAL;
349 }
350
351 ULONG svcID = 1;
352 ULONG msgID = 2;
353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
354 }
355
356 /*===========================================================================
357 METHOD:
358 WDSSetIndication
359
360 DESCRIPTION:
361 The function sends 'WDS/Set Indication Request' (0x0003)
362 and returns the response
363
364 PARAMETERS:
365 handle [ I ] - Gobi interface handle
366 to [ I ] - Timeout for transaction (in milliseconds)
367 inLen [ I ] - Length of input buffer
368 pIn [ I ] - Input buffer
369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
370 contain, upon output the number of BYTEs copied
371 to pOut
372 pOut [ O ] - Output buffer
373
374 RETURN VALUE:
375 ULONG - Return code
376 ===========================================================================*/
377 ULONG WDSSetIndication(
378 GOBIHANDLE handle,
379 ULONG to,
380 ULONG inLen,
381 const BYTE * pIn,
382 ULONG * pOutLen,
383 BYTE * pOut )
384 {
385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
386 if (pAPI == 0)
387 {
388 return (ULONG)eGOBI_ERR_INTERNAL;
389 }
390
391 ULONG svcID = 1;
392 ULONG msgID = 3;
393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
394 }
395
396 /*===========================================================================
397 METHOD:
398 WDSStartNetworkInterface
399
400 DESCRIPTION:
401 The function sends 'WDS/Start Network Interface Request' (0x0020)
402 and returns the response
403
404 PARAMETERS:
405 handle [ I ] - Gobi interface handle
406 to [ I ] - Timeout for transaction (in milliseconds)
407 inLen [ I ] - Length of input buffer
408 pIn [ I ] - Input buffer
409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
410 contain, upon output the number of BYTEs copied
411 to pOut
412 pOut [ O ] - Output buffer
413
414 RETURN VALUE:
415 ULONG - Return code
416 ===========================================================================*/
417 ULONG WDSStartNetworkInterface(
418 GOBIHANDLE handle,
419 ULONG to,
420 ULONG inLen,
421 const BYTE * pIn,
422 ULONG * pOutLen,
423 BYTE * pOut )
424 {
425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
426 if (pAPI == 0)
427 {
428 return (ULONG)eGOBI_ERR_INTERNAL;
429 }
430
431 ULONG svcID = 1;
432 ULONG msgID = 32;
433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
434 }
435
436 /*===========================================================================
437 METHOD:
438 WDSStopNetworkInterface
439
440 DESCRIPTION:
441 The function sends 'WDS/Stop Network Interface Request' (0x0021)
442 and returns the response
443
444 PARAMETERS:
445 handle [ I ] - Gobi interface handle
446 to [ I ] - Timeout for transaction (in milliseconds)
447 inLen [ I ] - Length of input buffer
448 pIn [ I ] - Input buffer
449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
450 contain, upon output the number of BYTEs copied
451 to pOut
452 pOut [ O ] - Output buffer
453
454 RETURN VALUE:
455 ULONG - Return code
456 ===========================================================================*/
457 ULONG WDSStopNetworkInterface(
458 GOBIHANDLE handle,
459 ULONG to,
460 ULONG inLen,
461 const BYTE * pIn,
462 ULONG * pOutLen,
463 BYTE * pOut )
464 {
465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
466 if (pAPI == 0)
467 {
468 return (ULONG)eGOBI_ERR_INTERNAL;
469 }
470
471 ULONG svcID = 1;
472 ULONG msgID = 33;
473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
474 }
475
476 /*===========================================================================
477 METHOD:
478 WDSGetPacketServiceStatus
479
480 DESCRIPTION:
481 The function sends 'WDS/Get Packet Service Status Request' (0x0022)
482 and returns the response
483
484 PARAMETERS:
485 handle [ I ] - Gobi interface handle
486 to [ I ] - Timeout for transaction (in milliseconds)
487 inLen [ I ] - Reserved for future use (set to 0)
488 pIn [ I ] - Reserved for future use (set to 0)
489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
490 contain, upon output the number of BYTEs copied
491 to pOut
492 pOut [ O ] - Output buffer
493
494 RETURN VALUE:
495 ULONG - Return code
496 ===========================================================================*/
497 ULONG WDSGetPacketServiceStatus(
498 GOBIHANDLE handle,
499 ULONG to,
500 ULONG inLen,
501 const BYTE * pIn,
502 ULONG * pOutLen,
503 BYTE * pOut )
504 {
505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
506 if (pAPI == 0)
507 {
508 return (ULONG)eGOBI_ERR_INTERNAL;
509 }
510
511 ULONG svcID = 1;
512 ULONG msgID = 34;
513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
514 }
515
516 /*===========================================================================
517 METHOD:
518 WDSGetChannelRates
519
520 DESCRIPTION:
521 The function sends 'WDS/Get Channel Rates Request' (0x0023)
522 and returns the response
523
524 PARAMETERS:
525 handle [ I ] - Gobi interface handle
526 to [ I ] - Timeout for transaction (in milliseconds)
527 inLen [ I ] - Reserved for future use (set to 0)
528 pIn [ I ] - Reserved for future use (set to 0)
529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
530 contain, upon output the number of BYTEs copied
531 to pOut
532 pOut [ O ] - Output buffer
533
534 RETURN VALUE:
535 ULONG - Return code
536 ===========================================================================*/
537 ULONG WDSGetChannelRates(
538 GOBIHANDLE handle,
539 ULONG to,
540 ULONG inLen,
541 const BYTE * pIn,
542 ULONG * pOutLen,
543 BYTE * pOut )
544 {
545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
546 if (pAPI == 0)
547 {
548 return (ULONG)eGOBI_ERR_INTERNAL;
549 }
550
551 ULONG svcID = 1;
552 ULONG msgID = 35;
553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
554 }
555
556 /*===========================================================================
557 METHOD:
558 WDSGetPacketStatistics
559
560 DESCRIPTION:
561 The function sends 'WDS/Get Packet Statistics Request' (0x0024)
562 and returns the response
563
564 PARAMETERS:
565 handle [ I ] - Gobi interface handle
566 to [ I ] - Timeout for transaction (in milliseconds)
567 inLen [ I ] - Length of input buffer
568 pIn [ I ] - Input buffer
569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
570 contain, upon output the number of BYTEs copied
571 to pOut
572 pOut [ O ] - Output buffer
573
574 RETURN VALUE:
575 ULONG - Return code
576 ===========================================================================*/
577 ULONG WDSGetPacketStatistics(
578 GOBIHANDLE handle,
579 ULONG to,
580 ULONG inLen,
581 const BYTE * pIn,
582 ULONG * pOutLen,
583 BYTE * pOut )
584 {
585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
586 if (pAPI == 0)
587 {
588 return (ULONG)eGOBI_ERR_INTERNAL;
589 }
590
591 ULONG svcID = 1;
592 ULONG msgID = 36;
593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
594 }
595
596 /*===========================================================================
597 METHOD:
598 WDSGoDormant
599
600 DESCRIPTION:
601 The function sends 'WDS/Go Dormant Request' (0x0025)
602 and returns the response
603
604 PARAMETERS:
605 handle [ I ] - Gobi interface handle
606 to [ I ] - Timeout for transaction (in milliseconds)
607 inLen [ I ] - Reserved for future use (set to 0)
608 pIn [ I ] - Reserved for future use (set to 0)
609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
610 contain, upon output the number of BYTEs copied
611 to pOut
612 pOut [ O ] - Output buffer
613
614 RETURN VALUE:
615 ULONG - Return code
616 ===========================================================================*/
617 ULONG WDSGoDormant(
618 GOBIHANDLE handle,
619 ULONG to,
620 ULONG inLen,
621 const BYTE * pIn,
622 ULONG * pOutLen,
623 BYTE * pOut )
624 {
625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
626 if (pAPI == 0)
627 {
628 return (ULONG)eGOBI_ERR_INTERNAL;
629 }
630
631 ULONG svcID = 1;
632 ULONG msgID = 37;
633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
634 }
635
636 /*===========================================================================
637 METHOD:
638 WDSGoActive
639
640 DESCRIPTION:
641 The function sends 'WDS/Go Active Request' (0x0026)
642 and returns the response
643
644 PARAMETERS:
645 handle [ I ] - Gobi interface handle
646 to [ I ] - Timeout for transaction (in milliseconds)
647 inLen [ I ] - Reserved for future use (set to 0)
648 pIn [ I ] - Reserved for future use (set to 0)
649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
650 contain, upon output the number of BYTEs copied
651 to pOut
652 pOut [ O ] - Output buffer
653
654 RETURN VALUE:
655 ULONG - Return code
656 ===========================================================================*/
657 ULONG WDSGoActive(
658 GOBIHANDLE handle,
659 ULONG to,
660 ULONG inLen,
661 const BYTE * pIn,
662 ULONG * pOutLen,
663 BYTE * pOut )
664 {
665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
666 if (pAPI == 0)
667 {
668 return (ULONG)eGOBI_ERR_INTERNAL;
669 }
670
671 ULONG svcID = 1;
672 ULONG msgID = 38;
673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
674 }
675
676 /*===========================================================================
677 METHOD:
678 WDSCreateProfile
679
680 DESCRIPTION:
681 The function sends 'WDS/Create Profile Request' (0x0027)
682 and returns the response
683
684 PARAMETERS:
685 handle [ I ] - Gobi interface handle
686 to [ I ] - Timeout for transaction (in milliseconds)
687 inLen [ I ] - Length of input buffer
688 pIn [ I ] - Input buffer
689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
690 contain, upon output the number of BYTEs copied
691 to pOut
692 pOut [ O ] - Output buffer
693
694 RETURN VALUE:
695 ULONG - Return code
696 ===========================================================================*/
697 ULONG WDSCreateProfile(
698 GOBIHANDLE handle,
699 ULONG to,
700 ULONG inLen,
701 const BYTE * pIn,
702 ULONG * pOutLen,
703 BYTE * pOut )
704 {
705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
706 if (pAPI == 0)
707 {
708 return (ULONG)eGOBI_ERR_INTERNAL;
709 }
710
711 ULONG svcID = 1;
712 ULONG msgID = 39;
713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
714 }
715
716 /*===========================================================================
717 METHOD:
718 WDSModifyProfile
719
720 DESCRIPTION:
721 The function sends 'WDS/Modify Profile Request' (0x0028)
722 and returns the response
723
724 PARAMETERS:
725 handle [ I ] - Gobi interface handle
726 to [ I ] - Timeout for transaction (in milliseconds)
727 inLen [ I ] - Length of input buffer
728 pIn [ I ] - Input buffer
729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
730 contain, upon output the number of BYTEs copied
731 to pOut
732 pOut [ O ] - Output buffer
733
734 RETURN VALUE:
735 ULONG - Return code
736 ===========================================================================*/
737 ULONG WDSModifyProfile(
738 GOBIHANDLE handle,
739 ULONG to,
740 ULONG inLen,
741 const BYTE * pIn,
742 ULONG * pOutLen,
743 BYTE * pOut )
744 {
745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
746 if (pAPI == 0)
747 {
748 return (ULONG)eGOBI_ERR_INTERNAL;
749 }
750
751 ULONG svcID = 1;
752 ULONG msgID = 40;
753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
754 }
755
756 /*===========================================================================
757 METHOD:
758 WDSDeleteProfile
759
760 DESCRIPTION:
761 The function sends 'WDS/Delete Profile Request' (0x0029)
762 and returns the response
763
764 PARAMETERS:
765 handle [ I ] - Gobi interface handle
766 to [ I ] - Timeout for transaction (in milliseconds)
767 inLen [ I ] - Length of input buffer
768 pIn [ I ] - Input buffer
769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
770 contain, upon output the number of BYTEs copied
771 to pOut
772 pOut [ O ] - Output buffer
773
774 RETURN VALUE:
775 ULONG - Return code
776 ===========================================================================*/
777 ULONG WDSDeleteProfile(
778 GOBIHANDLE handle,
779 ULONG to,
780 ULONG inLen,
781 const BYTE * pIn,
782 ULONG * pOutLen,
783 BYTE * pOut )
784 {
785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
786 if (pAPI == 0)
787 {
788 return (ULONG)eGOBI_ERR_INTERNAL;
789 }
790
791 ULONG svcID = 1;
792 ULONG msgID = 41;
793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
794 }
795
796 /*===========================================================================
797 METHOD:
798 WDSGetProfileList
799
800 DESCRIPTION:
801 The function sends 'WDS/Get Profile List Request' (0x002A)
802 and returns the response
803
804 PARAMETERS:
805 handle [ I ] - Gobi interface handle
806 to [ I ] - Timeout for transaction (in milliseconds)
807 inLen [ I ] - Length of input buffer
808 pIn [ I ] - Input buffer
809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
810 contain, upon output the number of BYTEs copied
811 to pOut
812 pOut [ O ] - Output buffer
813
814 RETURN VALUE:
815 ULONG - Return code
816 ===========================================================================*/
817 ULONG WDSGetProfileList(
818 GOBIHANDLE handle,
819 ULONG to,
820 ULONG inLen,
821 const BYTE * pIn,
822 ULONG * pOutLen,
823 BYTE * pOut )
824 {
825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
826 if (pAPI == 0)
827 {
828 return (ULONG)eGOBI_ERR_INTERNAL;
829 }
830
831 ULONG svcID = 1;
832 ULONG msgID = 42;
833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
834 }
835
836 /*===========================================================================
837 METHOD:
838 WDSGetProfileSettings
839
840 DESCRIPTION:
841 The function sends 'WDS/Get Profile Settings Request' (0x002B)
842 and returns the response
843
844 PARAMETERS:
845 handle [ I ] - Gobi interface handle
846 to [ I ] - Timeout for transaction (in milliseconds)
847 inLen [ I ] - Length of input buffer
848 pIn [ I ] - Input buffer
849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
850 contain, upon output the number of BYTEs copied
851 to pOut
852 pOut [ O ] - Output buffer
853
854 RETURN VALUE:
855 ULONG - Return code
856 ===========================================================================*/
857 ULONG WDSGetProfileSettings(
858 GOBIHANDLE handle,
859 ULONG to,
860 ULONG inLen,
861 const BYTE * pIn,
862 ULONG * pOutLen,
863 BYTE * pOut )
864 {
865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
866 if (pAPI == 0)
867 {
868 return (ULONG)eGOBI_ERR_INTERNAL;
869 }
870
871 ULONG svcID = 1;
872 ULONG msgID = 43;
873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
874 }
875
876 /*===========================================================================
877 METHOD:
878 WDSGetDefaultSettings
879
880 DESCRIPTION:
881 The function sends 'WDS/Get Default Settings Request' (0x002C)
882 and returns the response
883
884 PARAMETERS:
885 handle [ I ] - Gobi interface handle
886 to [ I ] - Timeout for transaction (in milliseconds)
887 inLen [ I ] - Length of input buffer
888 pIn [ I ] - Input buffer
889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
890 contain, upon output the number of BYTEs copied
891 to pOut
892 pOut [ O ] - Output buffer
893
894 RETURN VALUE:
895 ULONG - Return code
896 ===========================================================================*/
897 ULONG WDSGetDefaultSettings(
898 GOBIHANDLE handle,
899 ULONG to,
900 ULONG inLen,
901 const BYTE * pIn,
902 ULONG * pOutLen,
903 BYTE * pOut )
904 {
905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
906 if (pAPI == 0)
907 {
908 return (ULONG)eGOBI_ERR_INTERNAL;
909 }
910
911 ULONG svcID = 1;
912 ULONG msgID = 44;
913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
914 }
915
916 /*===========================================================================
917 METHOD:
918 WDSGetCurrentSettings
919
920 DESCRIPTION:
921 The function sends 'WDS/Get Current Settings Request' (0x002D)
922 and returns the response
923
924 PARAMETERS:
925 handle [ I ] - Gobi interface handle
926 to [ I ] - Timeout for transaction (in milliseconds)
927 inLen [ I ] - Length of input buffer
928 pIn [ I ] - Input buffer
929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
930 contain, upon output the number of BYTEs copied
931 to pOut
932 pOut [ O ] - Output buffer
933
934 RETURN VALUE:
935 ULONG - Return code
936 ===========================================================================*/
937 ULONG WDSGetCurrentSettings(
938 GOBIHANDLE handle,
939 ULONG to,
940 ULONG inLen,
941 const BYTE * pIn,
942 ULONG * pOutLen,
943 BYTE * pOut )
944 {
945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
946 if (pAPI == 0)
947 {
948 return (ULONG)eGOBI_ERR_INTERNAL;
949 }
950
951 ULONG svcID = 1;
952 ULONG msgID = 45;
953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
954 }
955
956 /*===========================================================================
957 METHOD:
958 WDSSetMIPMode
959
960 DESCRIPTION:
961 The function sends 'WDS/Set MIP Mode Request' (0x002E)
962 and returns the response
963
964 PARAMETERS:
965 handle [ I ] - Gobi interface handle
966 to [ I ] - Timeout for transaction (in milliseconds)
967 inLen [ I ] - Length of input buffer
968 pIn [ I ] - Input buffer
969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
970 contain, upon output the number of BYTEs copied
971 to pOut
972 pOut [ O ] - Output buffer
973
974 RETURN VALUE:
975 ULONG - Return code
976 ===========================================================================*/
977 ULONG WDSSetMIPMode(
978 GOBIHANDLE handle,
979 ULONG to,
980 ULONG inLen,
981 const BYTE * pIn,
982 ULONG * pOutLen,
983 BYTE * pOut )
984 {
985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
986 if (pAPI == 0)
987 {
988 return (ULONG)eGOBI_ERR_INTERNAL;
989 }
990
991 ULONG svcID = 1;
992 ULONG msgID = 46;
993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
994 }
995
996 /*===========================================================================
997 METHOD:
998 WDSGetMIPMode
999
1000 DESCRIPTION:
1001 The function sends 'WDS/Get MIP Mode Request' (0x002F)
1002 and returns the response
1003
1004 PARAMETERS:
1005 handle [ I ] - Gobi interface handle
1006 to [ I ] - Timeout for transaction (in milliseconds)
1007 inLen [ I ] - Reserved for future use (set to 0)
1008 pIn [ I ] - Reserved for future use (set to 0)
1009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1010 contain, upon output the number of BYTEs copied
1011 to pOut
1012 pOut [ O ] - Output buffer
1013
1014 RETURN VALUE:
1015 ULONG - Return code
1016 ===========================================================================*/
1017 ULONG WDSGetMIPMode(
1018 GOBIHANDLE handle,
1019 ULONG to,
1020 ULONG inLen,
1021 const BYTE * pIn,
1022 ULONG * pOutLen,
1023 BYTE * pOut )
1024 {
1025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1026 if (pAPI == 0)
1027 {
1028 return (ULONG)eGOBI_ERR_INTERNAL;
1029 }
1030
1031 ULONG svcID = 1;
1032 ULONG msgID = 47;
1033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1034 }
1035
1036 /*===========================================================================
1037 METHOD:
1038 WDSGetDormancy
1039
1040 DESCRIPTION:
1041 The function sends 'WDS/Get Dormancy Request' (0x0030)
1042 and returns the response
1043
1044 PARAMETERS:
1045 handle [ I ] - Gobi interface handle
1046 to [ I ] - Timeout for transaction (in milliseconds)
1047 inLen [ I ] - Reserved for future use (set to 0)
1048 pIn [ I ] - Reserved for future use (set to 0)
1049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1050 contain, upon output the number of BYTEs copied
1051 to pOut
1052 pOut [ O ] - Output buffer
1053
1054 RETURN VALUE:
1055 ULONG - Return code
1056 ===========================================================================*/
1057 ULONG WDSGetDormancy(
1058 GOBIHANDLE handle,
1059 ULONG to,
1060 ULONG inLen,
1061 const BYTE * pIn,
1062 ULONG * pOutLen,
1063 BYTE * pOut )
1064 {
1065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1066 if (pAPI == 0)
1067 {
1068 return (ULONG)eGOBI_ERR_INTERNAL;
1069 }
1070
1071 ULONG svcID = 1;
1072 ULONG msgID = 48;
1073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1074 }
1075
1076 /*===========================================================================
1077 METHOD:
1078 WDSGetAutoconnectSetting
1079
1080 DESCRIPTION:
1081 The function sends 'WDS/Get Autoconnect Setting Request' (0x0034)
1082 and returns the response
1083
1084 PARAMETERS:
1085 handle [ I ] - Gobi interface handle
1086 to [ I ] - Timeout for transaction (in milliseconds)
1087 inLen [ I ] - Reserved for future use (set to 0)
1088 pIn [ I ] - Reserved for future use (set to 0)
1089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1090 contain, upon output the number of BYTEs copied
1091 to pOut
1092 pOut [ O ] - Output buffer
1093
1094 RETURN VALUE:
1095 ULONG - Return code
1096 ===========================================================================*/
1097 ULONG WDSGetAutoconnectSetting(
1098 GOBIHANDLE handle,
1099 ULONG to,
1100 ULONG inLen,
1101 const BYTE * pIn,
1102 ULONG * pOutLen,
1103 BYTE * pOut )
1104 {
1105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1106 if (pAPI == 0)
1107 {
1108 return (ULONG)eGOBI_ERR_INTERNAL;
1109 }
1110
1111 ULONG svcID = 1;
1112 ULONG msgID = 52;
1113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1114 }
1115
1116 /*===========================================================================
1117 METHOD:
1118 WDSGetDataSessionDuration
1119
1120 DESCRIPTION:
1121 The function sends 'WDS/Get Data Session Duration Request' (0x0035)
1122 and returns the response
1123
1124 PARAMETERS:
1125 handle [ I ] - Gobi interface handle
1126 to [ I ] - Timeout for transaction (in milliseconds)
1127 inLen [ I ] - Reserved for future use (set to 0)
1128 pIn [ I ] - Reserved for future use (set to 0)
1129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1130 contain, upon output the number of BYTEs copied
1131 to pOut
1132 pOut [ O ] - Output buffer
1133
1134 RETURN VALUE:
1135 ULONG - Return code
1136 ===========================================================================*/
1137 ULONG WDSGetDataSessionDuration(
1138 GOBIHANDLE handle,
1139 ULONG to,
1140 ULONG inLen,
1141 const BYTE * pIn,
1142 ULONG * pOutLen,
1143 BYTE * pOut )
1144 {
1145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1146 if (pAPI == 0)
1147 {
1148 return (ULONG)eGOBI_ERR_INTERNAL;
1149 }
1150
1151 ULONG svcID = 1;
1152 ULONG msgID = 53;
1153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1154 }
1155
1156 /*===========================================================================
1157 METHOD:
1158 WDSGetModemStatus
1159
1160 DESCRIPTION:
1161 The function sends 'WDS/Get Modem Status Request' (0x0036)
1162 and returns the response
1163
1164 PARAMETERS:
1165 handle [ I ] - Gobi interface handle
1166 to [ I ] - Timeout for transaction (in milliseconds)
1167 inLen [ I ] - Reserved for future use (set to 0)
1168 pIn [ I ] - Reserved for future use (set to 0)
1169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1170 contain, upon output the number of BYTEs copied
1171 to pOut
1172 pOut [ O ] - Output buffer
1173
1174 RETURN VALUE:
1175 ULONG - Return code
1176 ===========================================================================*/
1177 ULONG WDSGetModemStatus(
1178 GOBIHANDLE handle,
1179 ULONG to,
1180 ULONG inLen,
1181 const BYTE * pIn,
1182 ULONG * pOutLen,
1183 BYTE * pOut )
1184 {
1185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1186 if (pAPI == 0)
1187 {
1188 return (ULONG)eGOBI_ERR_INTERNAL;
1189 }
1190
1191 ULONG svcID = 1;
1192 ULONG msgID = 54;
1193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1194 }
1195
1196 /*===========================================================================
1197 METHOD:
1198 WDSGetDataBearerTechnology
1199
1200 DESCRIPTION:
1201 The function sends 'WDS/Get Data Bearer Technology Request' (0x0037)
1202 and returns the response
1203
1204 PARAMETERS:
1205 handle [ I ] - Gobi interface handle
1206 to [ I ] - Timeout for transaction (in milliseconds)
1207 inLen [ I ] - Reserved for future use (set to 0)
1208 pIn [ I ] - Reserved for future use (set to 0)
1209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1210 contain, upon output the number of BYTEs copied
1211 to pOut
1212 pOut [ O ] - Output buffer
1213
1214 RETURN VALUE:
1215 ULONG - Return code
1216 ===========================================================================*/
1217 ULONG WDSGetDataBearerTechnology(
1218 GOBIHANDLE handle,
1219 ULONG to,
1220 ULONG inLen,
1221 const BYTE * pIn,
1222 ULONG * pOutLen,
1223 BYTE * pOut )
1224 {
1225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1226 if (pAPI == 0)
1227 {
1228 return (ULONG)eGOBI_ERR_INTERNAL;
1229 }
1230
1231 ULONG svcID = 1;
1232 ULONG msgID = 55;
1233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1234 }
1235
1236 /*===========================================================================
1237 METHOD:
1238 WDSGetModemInfo
1239
1240 DESCRIPTION:
1241 The function sends 'WDS/Get Modem Info Request' (0x0038)
1242 and returns the response
1243
1244 PARAMETERS:
1245 handle [ I ] - Gobi interface handle
1246 to [ I ] - Timeout for transaction (in milliseconds)
1247 inLen [ I ] - Length of input buffer
1248 pIn [ I ] - Input buffer
1249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1250 contain, upon output the number of BYTEs copied
1251 to pOut
1252 pOut [ O ] - Output buffer
1253
1254 RETURN VALUE:
1255 ULONG - Return code
1256 ===========================================================================*/
1257 ULONG WDSGetModemInfo(
1258 GOBIHANDLE handle,
1259 ULONG to,
1260 ULONG inLen,
1261 const BYTE * pIn,
1262 ULONG * pOutLen,
1263 BYTE * pOut )
1264 {
1265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1266 if (pAPI == 0)
1267 {
1268 return (ULONG)eGOBI_ERR_INTERNAL;
1269 }
1270
1271 ULONG svcID = 1;
1272 ULONG msgID = 56;
1273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1274 }
1275
1276 /*===========================================================================
1277 METHOD:
1278 WDSGetActiveMIPProfile
1279
1280 DESCRIPTION:
1281 The function sends 'WDS/Get Active MIP Profile Request' (0x003C)
1282 and returns the response
1283
1284 PARAMETERS:
1285 handle [ I ] - Gobi interface handle
1286 to [ I ] - Timeout for transaction (in milliseconds)
1287 inLen [ I ] - Reserved for future use (set to 0)
1288 pIn [ I ] - Reserved for future use (set to 0)
1289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1290 contain, upon output the number of BYTEs copied
1291 to pOut
1292 pOut [ O ] - Output buffer
1293
1294 RETURN VALUE:
1295 ULONG - Return code
1296 ===========================================================================*/
1297 ULONG WDSGetActiveMIPProfile(
1298 GOBIHANDLE handle,
1299 ULONG to,
1300 ULONG inLen,
1301 const BYTE * pIn,
1302 ULONG * pOutLen,
1303 BYTE * pOut )
1304 {
1305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1306 if (pAPI == 0)
1307 {
1308 return (ULONG)eGOBI_ERR_INTERNAL;
1309 }
1310
1311 ULONG svcID = 1;
1312 ULONG msgID = 60;
1313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1314 }
1315
1316 /*===========================================================================
1317 METHOD:
1318 WDSSetActiveMIPProfile
1319
1320 DESCRIPTION:
1321 The function sends 'WDS/Set Active MIP Profile Request' (0x003D)
1322 and returns the response
1323
1324 PARAMETERS:
1325 handle [ I ] - Gobi interface handle
1326 to [ I ] - Timeout for transaction (in milliseconds)
1327 inLen [ I ] - Length of input buffer
1328 pIn [ I ] - Input buffer
1329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1330 contain, upon output the number of BYTEs copied
1331 to pOut
1332 pOut [ O ] - Output buffer
1333
1334 RETURN VALUE:
1335 ULONG - Return code
1336 ===========================================================================*/
1337 ULONG WDSSetActiveMIPProfile(
1338 GOBIHANDLE handle,
1339 ULONG to,
1340 ULONG inLen,
1341 const BYTE * pIn,
1342 ULONG * pOutLen,
1343 BYTE * pOut )
1344 {
1345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1346 if (pAPI == 0)
1347 {
1348 return (ULONG)eGOBI_ERR_INTERNAL;
1349 }
1350
1351 ULONG svcID = 1;
1352 ULONG msgID = 61;
1353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1354 }
1355
1356 /*===========================================================================
1357 METHOD:
1358 WDSGetMIPProfile
1359
1360 DESCRIPTION:
1361 The function sends 'WDS/Get MIP Profile Request' (0x003E)
1362 and returns the response
1363
1364 PARAMETERS:
1365 handle [ I ] - Gobi interface handle
1366 to [ I ] - Timeout for transaction (in milliseconds)
1367 inLen [ I ] - Length of input buffer
1368 pIn [ I ] - Input buffer
1369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1370 contain, upon output the number of BYTEs copied
1371 to pOut
1372 pOut [ O ] - Output buffer
1373
1374 RETURN VALUE:
1375 ULONG - Return code
1376 ===========================================================================*/
1377 ULONG WDSGetMIPProfile(
1378 GOBIHANDLE handle,
1379 ULONG to,
1380 ULONG inLen,
1381 const BYTE * pIn,
1382 ULONG * pOutLen,
1383 BYTE * pOut )
1384 {
1385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1386 if (pAPI == 0)
1387 {
1388 return (ULONG)eGOBI_ERR_INTERNAL;
1389 }
1390
1391 ULONG svcID = 1;
1392 ULONG msgID = 62;
1393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1394 }
1395
1396 /*===========================================================================
1397 METHOD:
1398 WDSSetMIPProfile
1399
1400 DESCRIPTION:
1401 The function sends 'WDS/Set MIP Profile Request' (0x003F)
1402 and returns the response
1403
1404 PARAMETERS:
1405 handle [ I ] - Gobi interface handle
1406 to [ I ] - Timeout for transaction (in milliseconds)
1407 inLen [ I ] - Length of input buffer
1408 pIn [ I ] - Input buffer
1409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1410 contain, upon output the number of BYTEs copied
1411 to pOut
1412 pOut [ O ] - Output buffer
1413
1414 RETURN VALUE:
1415 ULONG - Return code
1416 ===========================================================================*/
1417 ULONG WDSSetMIPProfile(
1418 GOBIHANDLE handle,
1419 ULONG to,
1420 ULONG inLen,
1421 const BYTE * pIn,
1422 ULONG * pOutLen,
1423 BYTE * pOut )
1424 {
1425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1426 if (pAPI == 0)
1427 {
1428 return (ULONG)eGOBI_ERR_INTERNAL;
1429 }
1430
1431 ULONG svcID = 1;
1432 ULONG msgID = 63;
1433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1434 }
1435
1436 /*===========================================================================
1437 METHOD:
1438 WDSGetMIPParameters
1439
1440 DESCRIPTION:
1441 The function sends 'WDS/Get MIP Parameters Request' (0x0040)
1442 and returns the response
1443
1444 PARAMETERS:
1445 handle [ I ] - Gobi interface handle
1446 to [ I ] - Timeout for transaction (in milliseconds)
1447 inLen [ I ] - Reserved for future use (set to 0)
1448 pIn [ I ] - Reserved for future use (set to 0)
1449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1450 contain, upon output the number of BYTEs copied
1451 to pOut
1452 pOut [ O ] - Output buffer
1453
1454 RETURN VALUE:
1455 ULONG - Return code
1456 ===========================================================================*/
1457 ULONG WDSGetMIPParameters(
1458 GOBIHANDLE handle,
1459 ULONG to,
1460 ULONG inLen,
1461 const BYTE * pIn,
1462 ULONG * pOutLen,
1463 BYTE * pOut )
1464 {
1465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1466 if (pAPI == 0)
1467 {
1468 return (ULONG)eGOBI_ERR_INTERNAL;
1469 }
1470
1471 ULONG svcID = 1;
1472 ULONG msgID = 64;
1473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1474 }
1475
1476 /*===========================================================================
1477 METHOD:
1478 WDSSetMIPParameters
1479
1480 DESCRIPTION:
1481 The function sends 'WDS/Set MIP Parameters Request' (0x0041)
1482 and returns the response
1483
1484 PARAMETERS:
1485 handle [ I ] - Gobi interface handle
1486 to [ I ] - Timeout for transaction (in milliseconds)
1487 inLen [ I ] - Length of input buffer
1488 pIn [ I ] - Input buffer
1489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1490 contain, upon output the number of BYTEs copied
1491 to pOut
1492 pOut [ O ] - Output buffer
1493
1494 RETURN VALUE:
1495 ULONG - Return code
1496 ===========================================================================*/
1497 ULONG WDSSetMIPParameters(
1498 GOBIHANDLE handle,
1499 ULONG to,
1500 ULONG inLen,
1501 const BYTE * pIn,
1502 ULONG * pOutLen,
1503 BYTE * pOut )
1504 {
1505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1506 if (pAPI == 0)
1507 {
1508 return (ULONG)eGOBI_ERR_INTERNAL;
1509 }
1510
1511 ULONG svcID = 1;
1512 ULONG msgID = 65;
1513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1514 }
1515
1516 /*===========================================================================
1517 METHOD:
1518 WDSGetLastMIPStatus
1519
1520 DESCRIPTION:
1521 The function sends 'WDS/Get Last MIP Status Request' (0x0042)
1522 and returns the response
1523
1524 PARAMETERS:
1525 handle [ I ] - Gobi interface handle
1526 to [ I ] - Timeout for transaction (in milliseconds)
1527 inLen [ I ] - Reserved for future use (set to 0)
1528 pIn [ I ] - Reserved for future use (set to 0)
1529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1530 contain, upon output the number of BYTEs copied
1531 to pOut
1532 pOut [ O ] - Output buffer
1533
1534 RETURN VALUE:
1535 ULONG - Return code
1536 ===========================================================================*/
1537 ULONG WDSGetLastMIPStatus(
1538 GOBIHANDLE handle,
1539 ULONG to,
1540 ULONG inLen,
1541 const BYTE * pIn,
1542 ULONG * pOutLen,
1543 BYTE * pOut )
1544 {
1545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1546 if (pAPI == 0)
1547 {
1548 return (ULONG)eGOBI_ERR_INTERNAL;
1549 }
1550
1551 ULONG svcID = 1;
1552 ULONG msgID = 66;
1553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1554 }
1555
1556 /*===========================================================================
1557 METHOD:
1558 WDSGetANAAAAuthenticationStatus
1559
1560 DESCRIPTION:
1561 The function sends 'WDS/Get AN-AAA Authentication Status Request' (0x0043)
1562 and returns the response
1563
1564 PARAMETERS:
1565 handle [ I ] - Gobi interface handle
1566 to [ I ] - Timeout for transaction (in milliseconds)
1567 inLen [ I ] - Reserved for future use (set to 0)
1568 pIn [ I ] - Reserved for future use (set to 0)
1569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1570 contain, upon output the number of BYTEs copied
1571 to pOut
1572 pOut [ O ] - Output buffer
1573
1574 RETURN VALUE:
1575 ULONG - Return code
1576 ===========================================================================*/
1577 ULONG WDSGetANAAAAuthenticationStatus(
1578 GOBIHANDLE handle,
1579 ULONG to,
1580 ULONG inLen,
1581 const BYTE * pIn,
1582 ULONG * pOutLen,
1583 BYTE * pOut )
1584 {
1585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1586 if (pAPI == 0)
1587 {
1588 return (ULONG)eGOBI_ERR_INTERNAL;
1589 }
1590
1591 ULONG svcID = 1;
1592 ULONG msgID = 67;
1593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1594 }
1595
1596 /*===========================================================================
1597 METHOD:
1598 WDSGetCurrentDataBearerTechnology
1599
1600 DESCRIPTION:
1601 The function sends 'WDS/Get Current Data Bearer Technology Request' (0x0044)
1602 and returns the response
1603
1604 PARAMETERS:
1605 handle [ I ] - Gobi interface handle
1606 to [ I ] - Timeout for transaction (in milliseconds)
1607 inLen [ I ] - Reserved for future use (set to 0)
1608 pIn [ I ] - Reserved for future use (set to 0)
1609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1610 contain, upon output the number of BYTEs copied
1611 to pOut
1612 pOut [ O ] - Output buffer
1613
1614 RETURN VALUE:
1615 ULONG - Return code
1616 ===========================================================================*/
1617 ULONG WDSGetCurrentDataBearerTechnology(
1618 GOBIHANDLE handle,
1619 ULONG to,
1620 ULONG inLen,
1621 const BYTE * pIn,
1622 ULONG * pOutLen,
1623 BYTE * pOut )
1624 {
1625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1626 if (pAPI == 0)
1627 {
1628 return (ULONG)eGOBI_ERR_INTERNAL;
1629 }
1630
1631 ULONG svcID = 1;
1632 ULONG msgID = 68;
1633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1634 }
1635
1636 /*===========================================================================
1637 METHOD:
1638 WDSGetCallList
1639
1640 DESCRIPTION:
1641 The function sends 'WDS/Get Call List Request' (0x0045)
1642 and returns the response
1643
1644 PARAMETERS:
1645 handle [ I ] - Gobi interface handle
1646 to [ I ] - Timeout for transaction (in milliseconds)
1647 inLen [ I ] - Length of input buffer
1648 pIn [ I ] - Input buffer
1649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1650 contain, upon output the number of BYTEs copied
1651 to pOut
1652 pOut [ O ] - Output buffer
1653
1654 RETURN VALUE:
1655 ULONG - Return code
1656 ===========================================================================*/
1657 ULONG WDSGetCallList(
1658 GOBIHANDLE handle,
1659 ULONG to,
1660 ULONG inLen,
1661 const BYTE * pIn,
1662 ULONG * pOutLen,
1663 BYTE * pOut )
1664 {
1665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1666 if (pAPI == 0)
1667 {
1668 return (ULONG)eGOBI_ERR_INTERNAL;
1669 }
1670
1671 ULONG svcID = 1;
1672 ULONG msgID = 69;
1673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1674 }
1675
1676 /*===========================================================================
1677 METHOD:
1678 WDSGetCallRecord
1679
1680 DESCRIPTION:
1681 The function sends 'WDS/Get Call Record Request' (0x0046)
1682 and returns the response
1683
1684 PARAMETERS:
1685 handle [ I ] - Gobi interface handle
1686 to [ I ] - Timeout for transaction (in milliseconds)
1687 inLen [ I ] - Length of input buffer
1688 pIn [ I ] - Input buffer
1689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1690 contain, upon output the number of BYTEs copied
1691 to pOut
1692 pOut [ O ] - Output buffer
1693
1694 RETURN VALUE:
1695 ULONG - Return code
1696 ===========================================================================*/
1697 ULONG WDSGetCallRecord(
1698 GOBIHANDLE handle,
1699 ULONG to,
1700 ULONG inLen,
1701 const BYTE * pIn,
1702 ULONG * pOutLen,
1703 BYTE * pOut )
1704 {
1705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1706 if (pAPI == 0)
1707 {
1708 return (ULONG)eGOBI_ERR_INTERNAL;
1709 }
1710
1711 ULONG svcID = 1;
1712 ULONG msgID = 70;
1713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1714 }
1715
1716 /*===========================================================================
1717 METHOD:
1718 WDSClearCallList
1719
1720 DESCRIPTION:
1721 The function sends 'WDS/Clear Call List Request' (0x0047)
1722 and returns the response
1723
1724 PARAMETERS:
1725 handle [ I ] - Gobi interface handle
1726 to [ I ] - Timeout for transaction (in milliseconds)
1727 inLen [ I ] - Reserved for future use (set to 0)
1728 pIn [ I ] - Reserved for future use (set to 0)
1729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1730 contain, upon output the number of BYTEs copied
1731 to pOut
1732 pOut [ O ] - Output buffer
1733
1734 RETURN VALUE:
1735 ULONG - Return code
1736 ===========================================================================*/
1737 ULONG WDSClearCallList(
1738 GOBIHANDLE handle,
1739 ULONG to,
1740 ULONG inLen,
1741 const BYTE * pIn,
1742 ULONG * pOutLen,
1743 BYTE * pOut )
1744 {
1745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1746 if (pAPI == 0)
1747 {
1748 return (ULONG)eGOBI_ERR_INTERNAL;
1749 }
1750
1751 ULONG svcID = 1;
1752 ULONG msgID = 71;
1753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1754 }
1755
1756 /*===========================================================================
1757 METHOD:
1758 WDSGetCallListMaxSize
1759
1760 DESCRIPTION:
1761 The function sends 'WDS/Get Call List Max Size Request' (0x0048)
1762 and returns the response
1763
1764 PARAMETERS:
1765 handle [ I ] - Gobi interface handle
1766 to [ I ] - Timeout for transaction (in milliseconds)
1767 inLen [ I ] - Reserved for future use (set to 0)
1768 pIn [ I ] - Reserved for future use (set to 0)
1769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1770 contain, upon output the number of BYTEs copied
1771 to pOut
1772 pOut [ O ] - Output buffer
1773
1774 RETURN VALUE:
1775 ULONG - Return code
1776 ===========================================================================*/
1777 ULONG WDSGetCallListMaxSize(
1778 GOBIHANDLE handle,
1779 ULONG to,
1780 ULONG inLen,
1781 const BYTE * pIn,
1782 ULONG * pOutLen,
1783 BYTE * pOut )
1784 {
1785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1786 if (pAPI == 0)
1787 {
1788 return (ULONG)eGOBI_ERR_INTERNAL;
1789 }
1790
1791 ULONG svcID = 1;
1792 ULONG msgID = 72;
1793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1794 }
1795
1796 /*===========================================================================
1797 METHOD:
1798 WDSGetDefaultProfileNumber
1799
1800 DESCRIPTION:
1801 The function sends 'WDS/Get Default Profile Number Request' (0x0049)
1802 and returns the response
1803
1804 PARAMETERS:
1805 handle [ I ] - Gobi interface handle
1806 to [ I ] - Timeout for transaction (in milliseconds)
1807 inLen [ I ] - Length of input buffer
1808 pIn [ I ] - Input buffer
1809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1810 contain, upon output the number of BYTEs copied
1811 to pOut
1812 pOut [ O ] - Output buffer
1813
1814 RETURN VALUE:
1815 ULONG - Return code
1816 ===========================================================================*/
1817 ULONG WDSGetDefaultProfileNumber(
1818 GOBIHANDLE handle,
1819 ULONG to,
1820 ULONG inLen,
1821 const BYTE * pIn,
1822 ULONG * pOutLen,
1823 BYTE * pOut )
1824 {
1825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1826 if (pAPI == 0)
1827 {
1828 return (ULONG)eGOBI_ERR_INTERNAL;
1829 }
1830
1831 ULONG svcID = 1;
1832 ULONG msgID = 73;
1833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1834 }
1835
1836 /*===========================================================================
1837 METHOD:
1838 WDSSetDefaultProfileNumber
1839
1840 DESCRIPTION:
1841 The function sends 'WDS/Set Default Profile Number Request' (0x004A)
1842 and returns the response
1843
1844 PARAMETERS:
1845 handle [ I ] - Gobi interface handle
1846 to [ I ] - Timeout for transaction (in milliseconds)
1847 inLen [ I ] - Length of input buffer
1848 pIn [ I ] - Input buffer
1849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1850 contain, upon output the number of BYTEs copied
1851 to pOut
1852 pOut [ O ] - Output buffer
1853
1854 RETURN VALUE:
1855 ULONG - Return code
1856 ===========================================================================*/
1857 ULONG WDSSetDefaultProfileNumber(
1858 GOBIHANDLE handle,
1859 ULONG to,
1860 ULONG inLen,
1861 const BYTE * pIn,
1862 ULONG * pOutLen,
1863 BYTE * pOut )
1864 {
1865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1866 if (pAPI == 0)
1867 {
1868 return (ULONG)eGOBI_ERR_INTERNAL;
1869 }
1870
1871 ULONG svcID = 1;
1872 ULONG msgID = 74;
1873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1874 }
1875
1876 /*===========================================================================
1877 METHOD:
1878 WDSResetProfile
1879
1880 DESCRIPTION:
1881 The function sends 'WDS/Reset Profile Request' (0x004B)
1882 and returns the response
1883
1884 PARAMETERS:
1885 handle [ I ] - Gobi interface handle
1886 to [ I ] - Timeout for transaction (in milliseconds)
1887 inLen [ I ] - Length of input buffer
1888 pIn [ I ] - Input buffer
1889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1890 contain, upon output the number of BYTEs copied
1891 to pOut
1892 pOut [ O ] - Output buffer
1893
1894 RETURN VALUE:
1895 ULONG - Return code
1896 ===========================================================================*/
1897 ULONG WDSResetProfile(
1898 GOBIHANDLE handle,
1899 ULONG to,
1900 ULONG inLen,
1901 const BYTE * pIn,
1902 ULONG * pOutLen,
1903 BYTE * pOut )
1904 {
1905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1906 if (pAPI == 0)
1907 {
1908 return (ULONG)eGOBI_ERR_INTERNAL;
1909 }
1910
1911 ULONG svcID = 1;
1912 ULONG msgID = 75;
1913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1914 }
1915
1916 /*===========================================================================
1917 METHOD:
1918 WDSResetProfileParamToInvalid
1919
1920 DESCRIPTION:
1921 The function sends 'WDS/Reset Profile Param To Invalid Request' (0x004C)
1922 and returns the response
1923
1924 PARAMETERS:
1925 handle [ I ] - Gobi interface handle
1926 to [ I ] - Timeout for transaction (in milliseconds)
1927 inLen [ I ] - Length of input buffer
1928 pIn [ I ] - Input buffer
1929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1930 contain, upon output the number of BYTEs copied
1931 to pOut
1932 pOut [ O ] - Output buffer
1933
1934 RETURN VALUE:
1935 ULONG - Return code
1936 ===========================================================================*/
1937 ULONG WDSResetProfileParamToInvalid(
1938 GOBIHANDLE handle,
1939 ULONG to,
1940 ULONG inLen,
1941 const BYTE * pIn,
1942 ULONG * pOutLen,
1943 BYTE * pOut )
1944 {
1945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1946 if (pAPI == 0)
1947 {
1948 return (ULONG)eGOBI_ERR_INTERNAL;
1949 }
1950
1951 ULONG svcID = 1;
1952 ULONG msgID = 76;
1953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1954 }
1955
1956 /*===========================================================================
1957 METHOD:
1958 WDSSetIPFamilyPreference
1959
1960 DESCRIPTION:
1961 The function sends 'WDS/Set IP Family Preference Request' (0x004D)
1962 and returns the response
1963
1964 PARAMETERS:
1965 handle [ I ] - Gobi interface handle
1966 to [ I ] - Timeout for transaction (in milliseconds)
1967 inLen [ I ] - Length of input buffer
1968 pIn [ I ] - Input buffer
1969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
1970 contain, upon output the number of BYTEs copied
1971 to pOut
1972 pOut [ O ] - Output buffer
1973
1974 RETURN VALUE:
1975 ULONG - Return code
1976 ===========================================================================*/
1977 ULONG WDSSetIPFamilyPreference(
1978 GOBIHANDLE handle,
1979 ULONG to,
1980 ULONG inLen,
1981 const BYTE * pIn,
1982 ULONG * pOutLen,
1983 BYTE * pOut )
1984 {
1985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
1986 if (pAPI == 0)
1987 {
1988 return (ULONG)eGOBI_ERR_INTERNAL;
1989 }
1990
1991 ULONG svcID = 1;
1992 ULONG msgID = 77;
1993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
1994 }
1995
1996 /*===========================================================================
1997 METHOD:
1998 WDSSetFMCTunnelParameters
1999
2000 DESCRIPTION:
2001 The function sends 'WDS/Set FMC Tunnel Parameters Request' (0x004E)
2002 and returns the response
2003
2004 PARAMETERS:
2005 handle [ I ] - Gobi interface handle
2006 to [ I ] - Timeout for transaction (in milliseconds)
2007 inLen [ I ] - Length of input buffer
2008 pIn [ I ] - Input buffer
2009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2010 contain, upon output the number of BYTEs copied
2011 to pOut
2012 pOut [ O ] - Output buffer
2013
2014 RETURN VALUE:
2015 ULONG - Return code
2016 ===========================================================================*/
2017 ULONG WDSSetFMCTunnelParameters(
2018 GOBIHANDLE handle,
2019 ULONG to,
2020 ULONG inLen,
2021 const BYTE * pIn,
2022 ULONG * pOutLen,
2023 BYTE * pOut )
2024 {
2025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2026 if (pAPI == 0)
2027 {
2028 return (ULONG)eGOBI_ERR_INTERNAL;
2029 }
2030
2031 ULONG svcID = 1;
2032 ULONG msgID = 78;
2033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2034 }
2035
2036 /*===========================================================================
2037 METHOD:
2038 WDSClearFMCTunnelParameters
2039
2040 DESCRIPTION:
2041 The function sends 'WDS/Clear FMC Tunnel Parameters Request' (0x004F)
2042 and returns the response
2043
2044 PARAMETERS:
2045 handle [ I ] - Gobi interface handle
2046 to [ I ] - Timeout for transaction (in milliseconds)
2047 inLen [ I ] - Reserved for future use (set to 0)
2048 pIn [ I ] - Reserved for future use (set to 0)
2049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2050 contain, upon output the number of BYTEs copied
2051 to pOut
2052 pOut [ O ] - Output buffer
2053
2054 RETURN VALUE:
2055 ULONG - Return code
2056 ===========================================================================*/
2057 ULONG WDSClearFMCTunnelParameters(
2058 GOBIHANDLE handle,
2059 ULONG to,
2060 ULONG inLen,
2061 const BYTE * pIn,
2062 ULONG * pOutLen,
2063 BYTE * pOut )
2064 {
2065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2066 if (pAPI == 0)
2067 {
2068 return (ULONG)eGOBI_ERR_INTERNAL;
2069 }
2070
2071 ULONG svcID = 1;
2072 ULONG msgID = 79;
2073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2074 }
2075
2076 /*===========================================================================
2077 METHOD:
2078 WDSGetFMCTunnelParameters
2079
2080 DESCRIPTION:
2081 The function sends 'WDS/Get FMC Tunnel Parameters Request' (0x0050)
2082 and returns the response
2083
2084 PARAMETERS:
2085 handle [ I ] - Gobi interface handle
2086 to [ I ] - Timeout for transaction (in milliseconds)
2087 inLen [ I ] - Reserved for future use (set to 0)
2088 pIn [ I ] - Reserved for future use (set to 0)
2089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2090 contain, upon output the number of BYTEs copied
2091 to pOut
2092 pOut [ O ] - Output buffer
2093
2094 RETURN VALUE:
2095 ULONG - Return code
2096 ===========================================================================*/
2097 ULONG WDSGetFMCTunnelParameters(
2098 GOBIHANDLE handle,
2099 ULONG to,
2100 ULONG inLen,
2101 const BYTE * pIn,
2102 ULONG * pOutLen,
2103 BYTE * pOut )
2104 {
2105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2106 if (pAPI == 0)
2107 {
2108 return (ULONG)eGOBI_ERR_INTERNAL;
2109 }
2110
2111 ULONG svcID = 1;
2112 ULONG msgID = 80;
2113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2114 }
2115
2116 /*===========================================================================
2117 METHOD:
2118 WDSSetAutoconnectSetting
2119
2120 DESCRIPTION:
2121 The function sends 'WDS/Set Autoconnect Setting Request' (0x0051)
2122 and returns the response
2123
2124 PARAMETERS:
2125 handle [ I ] - Gobi interface handle
2126 to [ I ] - Timeout for transaction (in milliseconds)
2127 inLen [ I ] - Length of input buffer
2128 pIn [ I ] - Input buffer
2129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2130 contain, upon output the number of BYTEs copied
2131 to pOut
2132 pOut [ O ] - Output buffer
2133
2134 RETURN VALUE:
2135 ULONG - Return code
2136 ===========================================================================*/
2137 ULONG WDSSetAutoconnectSetting(
2138 GOBIHANDLE handle,
2139 ULONG to,
2140 ULONG inLen,
2141 const BYTE * pIn,
2142 ULONG * pOutLen,
2143 BYTE * pOut )
2144 {
2145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2146 if (pAPI == 0)
2147 {
2148 return (ULONG)eGOBI_ERR_INTERNAL;
2149 }
2150
2151 ULONG svcID = 1;
2152 ULONG msgID = 81;
2153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2154 }
2155
2156 /*===========================================================================
2157 METHOD:
2158 WDSGetDNSSetting
2159
2160 DESCRIPTION:
2161 The function sends 'WDS/Get DNS Setting Request' (0x0052)
2162 and returns the response
2163
2164 PARAMETERS:
2165 handle [ I ] - Gobi interface handle
2166 to [ I ] - Timeout for transaction (in milliseconds)
2167 inLen [ I ] - Reserved for future use (set to 0)
2168 pIn [ I ] - Reserved for future use (set to 0)
2169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2170 contain, upon output the number of BYTEs copied
2171 to pOut
2172 pOut [ O ] - Output buffer
2173
2174 RETURN VALUE:
2175 ULONG - Return code
2176 ===========================================================================*/
2177 ULONG WDSGetDNSSetting(
2178 GOBIHANDLE handle,
2179 ULONG to,
2180 ULONG inLen,
2181 const BYTE * pIn,
2182 ULONG * pOutLen,
2183 BYTE * pOut )
2184 {
2185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2186 if (pAPI == 0)
2187 {
2188 return (ULONG)eGOBI_ERR_INTERNAL;
2189 }
2190
2191 ULONG svcID = 1;
2192 ULONG msgID = 82;
2193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2194 }
2195
2196 /*===========================================================================
2197 METHOD:
2198 WDSSetDNSSetting
2199
2200 DESCRIPTION:
2201 The function sends 'WDS/Set DNS Setting Request' (0x0053)
2202 and returns the response
2203
2204 PARAMETERS:
2205 handle [ I ] - Gobi interface handle
2206 to [ I ] - Timeout for transaction (in milliseconds)
2207 inLen [ I ] - Length of input buffer
2208 pIn [ I ] - Input buffer
2209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2210 contain, upon output the number of BYTEs copied
2211 to pOut
2212 pOut [ O ] - Output buffer
2213
2214 RETURN VALUE:
2215 ULONG - Return code
2216 ===========================================================================*/
2217 ULONG WDSSetDNSSetting(
2218 GOBIHANDLE handle,
2219 ULONG to,
2220 ULONG inLen,
2221 const BYTE * pIn,
2222 ULONG * pOutLen,
2223 BYTE * pOut )
2224 {
2225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2226 if (pAPI == 0)
2227 {
2228 return (ULONG)eGOBI_ERR_INTERNAL;
2229 }
2230
2231 ULONG svcID = 1;
2232 ULONG msgID = 83;
2233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2234 }
2235
2236 /*===========================================================================
2237 METHOD:
2238 WDSGetCDMAPreDormancySettings
2239
2240 DESCRIPTION:
2241 The function sends 'WDS/Get CDMA Pre-Dormancy Settings Request' (0x0054)
2242 and returns the response
2243
2244 PARAMETERS:
2245 handle [ I ] - Gobi interface handle
2246 to [ I ] - Timeout for transaction (in milliseconds)
2247 inLen [ I ] - Reserved for future use (set to 0)
2248 pIn [ I ] - Reserved for future use (set to 0)
2249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2250 contain, upon output the number of BYTEs copied
2251 to pOut
2252 pOut [ O ] - Output buffer
2253
2254 RETURN VALUE:
2255 ULONG - Return code
2256 ===========================================================================*/
2257 ULONG WDSGetCDMAPreDormancySettings(
2258 GOBIHANDLE handle,
2259 ULONG to,
2260 ULONG inLen,
2261 const BYTE * pIn,
2262 ULONG * pOutLen,
2263 BYTE * pOut )
2264 {
2265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2266 if (pAPI == 0)
2267 {
2268 return (ULONG)eGOBI_ERR_INTERNAL;
2269 }
2270
2271 ULONG svcID = 1;
2272 ULONG msgID = 84;
2273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2274 }
2275
2276 /*===========================================================================
2277 METHOD:
2278 WDSSetCAMTimer
2279
2280 DESCRIPTION:
2281 The function sends 'WDS/Set CAM Timer Request' (0x0055)
2282 and returns the response
2283
2284 PARAMETERS:
2285 handle [ I ] - Gobi interface handle
2286 to [ I ] - Timeout for transaction (in milliseconds)
2287 inLen [ I ] - Length of input buffer
2288 pIn [ I ] - Input buffer
2289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2290 contain, upon output the number of BYTEs copied
2291 to pOut
2292 pOut [ O ] - Output buffer
2293
2294 RETURN VALUE:
2295 ULONG - Return code
2296 ===========================================================================*/
2297 ULONG WDSSetCAMTimer(
2298 GOBIHANDLE handle,
2299 ULONG to,
2300 ULONG inLen,
2301 const BYTE * pIn,
2302 ULONG * pOutLen,
2303 BYTE * pOut )
2304 {
2305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2306 if (pAPI == 0)
2307 {
2308 return (ULONG)eGOBI_ERR_INTERNAL;
2309 }
2310
2311 ULONG svcID = 1;
2312 ULONG msgID = 85;
2313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2314 }
2315
2316 /*===========================================================================
2317 METHOD:
2318 WDSGetCAMTimer
2319
2320 DESCRIPTION:
2321 The function sends 'WDS/Get CAM Timer Request' (0x0056)
2322 and returns the response
2323
2324 PARAMETERS:
2325 handle [ I ] - Gobi interface handle
2326 to [ I ] - Timeout for transaction (in milliseconds)
2327 inLen [ I ] - Reserved for future use (set to 0)
2328 pIn [ I ] - Reserved for future use (set to 0)
2329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2330 contain, upon output the number of BYTEs copied
2331 to pOut
2332 pOut [ O ] - Output buffer
2333
2334 RETURN VALUE:
2335 ULONG - Return code
2336 ===========================================================================*/
2337 ULONG WDSGetCAMTimer(
2338 GOBIHANDLE handle,
2339 ULONG to,
2340 ULONG inLen,
2341 const BYTE * pIn,
2342 ULONG * pOutLen,
2343 BYTE * pOut )
2344 {
2345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2346 if (pAPI == 0)
2347 {
2348 return (ULONG)eGOBI_ERR_INTERNAL;
2349 }
2350
2351 ULONG svcID = 1;
2352 ULONG msgID = 86;
2353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2354 }
2355
2356 /*===========================================================================
2357 METHOD:
2358 WDSSetSCRM
2359
2360 DESCRIPTION:
2361 The function sends 'WDS/Set SCRM Request' (0x0057)
2362 and returns the response
2363
2364 PARAMETERS:
2365 handle [ I ] - Gobi interface handle
2366 to [ I ] - Timeout for transaction (in milliseconds)
2367 inLen [ I ] - Length of input buffer
2368 pIn [ I ] - Input buffer
2369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2370 contain, upon output the number of BYTEs copied
2371 to pOut
2372 pOut [ O ] - Output buffer
2373
2374 RETURN VALUE:
2375 ULONG - Return code
2376 ===========================================================================*/
2377 ULONG WDSSetSCRM(
2378 GOBIHANDLE handle,
2379 ULONG to,
2380 ULONG inLen,
2381 const BYTE * pIn,
2382 ULONG * pOutLen,
2383 BYTE * pOut )
2384 {
2385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2386 if (pAPI == 0)
2387 {
2388 return (ULONG)eGOBI_ERR_INTERNAL;
2389 }
2390
2391 ULONG svcID = 1;
2392 ULONG msgID = 87;
2393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2394 }
2395
2396 /*===========================================================================
2397 METHOD:
2398 WDSGetSCRM
2399
2400 DESCRIPTION:
2401 The function sends 'WDS/Get SCRM Request' (0x0058)
2402 and returns the response
2403
2404 PARAMETERS:
2405 handle [ I ] - Gobi interface handle
2406 to [ I ] - Timeout for transaction (in milliseconds)
2407 inLen [ I ] - Reserved for future use (set to 0)
2408 pIn [ I ] - Reserved for future use (set to 0)
2409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2410 contain, upon output the number of BYTEs copied
2411 to pOut
2412 pOut [ O ] - Output buffer
2413
2414 RETURN VALUE:
2415 ULONG - Return code
2416 ===========================================================================*/
2417 ULONG WDSGetSCRM(
2418 GOBIHANDLE handle,
2419 ULONG to,
2420 ULONG inLen,
2421 const BYTE * pIn,
2422 ULONG * pOutLen,
2423 BYTE * pOut )
2424 {
2425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2426 if (pAPI == 0)
2427 {
2428 return (ULONG)eGOBI_ERR_INTERNAL;
2429 }
2430
2431 ULONG svcID = 1;
2432 ULONG msgID = 88;
2433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2434 }
2435
2436 /*===========================================================================
2437 METHOD:
2438 WDSSetRDUD
2439
2440 DESCRIPTION:
2441 The function sends 'WDS/Set RDUD Request' (0x0059)
2442 and returns the response
2443
2444 PARAMETERS:
2445 handle [ I ] - Gobi interface handle
2446 to [ I ] - Timeout for transaction (in milliseconds)
2447 inLen [ I ] - Length of input buffer
2448 pIn [ I ] - Input buffer
2449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2450 contain, upon output the number of BYTEs copied
2451 to pOut
2452 pOut [ O ] - Output buffer
2453
2454 RETURN VALUE:
2455 ULONG - Return code
2456 ===========================================================================*/
2457 ULONG WDSSetRDUD(
2458 GOBIHANDLE handle,
2459 ULONG to,
2460 ULONG inLen,
2461 const BYTE * pIn,
2462 ULONG * pOutLen,
2463 BYTE * pOut )
2464 {
2465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2466 if (pAPI == 0)
2467 {
2468 return (ULONG)eGOBI_ERR_INTERNAL;
2469 }
2470
2471 ULONG svcID = 1;
2472 ULONG msgID = 89;
2473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2474 }
2475
2476 /*===========================================================================
2477 METHOD:
2478 WDSGetRDUD
2479
2480 DESCRIPTION:
2481 The function sends 'WDS/Get RDUD Request' (0x005A)
2482 and returns the response
2483
2484 PARAMETERS:
2485 handle [ I ] - Gobi interface handle
2486 to [ I ] - Timeout for transaction (in milliseconds)
2487 inLen [ I ] - Reserved for future use (set to 0)
2488 pIn [ I ] - Reserved for future use (set to 0)
2489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2490 contain, upon output the number of BYTEs copied
2491 to pOut
2492 pOut [ O ] - Output buffer
2493
2494 RETURN VALUE:
2495 ULONG - Return code
2496 ===========================================================================*/
2497 ULONG WDSGetRDUD(
2498 GOBIHANDLE handle,
2499 ULONG to,
2500 ULONG inLen,
2501 const BYTE * pIn,
2502 ULONG * pOutLen,
2503 BYTE * pOut )
2504 {
2505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2506 if (pAPI == 0)
2507 {
2508 return (ULONG)eGOBI_ERR_INTERNAL;
2509 }
2510
2511 ULONG svcID = 1;
2512 ULONG msgID = 90;
2513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2514 }
2515
2516 /*===========================================================================
2517 METHOD:
2518 WDSGetSIPMIPCallType
2519
2520 DESCRIPTION:
2521 The function sends 'WDS/Get SIP/MIP Call Type Request' (0x005B)
2522 and returns the response
2523
2524 PARAMETERS:
2525 handle [ I ] - Gobi interface handle
2526 to [ I ] - Timeout for transaction (in milliseconds)
2527 inLen [ I ] - Reserved for future use (set to 0)
2528 pIn [ I ] - Reserved for future use (set to 0)
2529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2530 contain, upon output the number of BYTEs copied
2531 to pOut
2532 pOut [ O ] - Output buffer
2533
2534 RETURN VALUE:
2535 ULONG - Return code
2536 ===========================================================================*/
2537 ULONG WDSGetSIPMIPCallType(
2538 GOBIHANDLE handle,
2539 ULONG to,
2540 ULONG inLen,
2541 const BYTE * pIn,
2542 ULONG * pOutLen,
2543 BYTE * pOut )
2544 {
2545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2546 if (pAPI == 0)
2547 {
2548 return (ULONG)eGOBI_ERR_INTERNAL;
2549 }
2550
2551 ULONG svcID = 1;
2552 ULONG msgID = 91;
2553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2554 }
2555
2556 /*===========================================================================
2557 METHOD:
2558 WDSSetEVDOPageMonitorPeriod
2559
2560 DESCRIPTION:
2561 The function sends 'WDS/Set EV-DO Page Monitor Period Request' (0x005C)
2562 and returns the response
2563
2564 PARAMETERS:
2565 handle [ I ] - Gobi interface handle
2566 to [ I ] - Timeout for transaction (in milliseconds)
2567 inLen [ I ] - Length of input buffer
2568 pIn [ I ] - Input buffer
2569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2570 contain, upon output the number of BYTEs copied
2571 to pOut
2572 pOut [ O ] - Output buffer
2573
2574 RETURN VALUE:
2575 ULONG - Return code
2576 ===========================================================================*/
2577 ULONG WDSSetEVDOPageMonitorPeriod(
2578 GOBIHANDLE handle,
2579 ULONG to,
2580 ULONG inLen,
2581 const BYTE * pIn,
2582 ULONG * pOutLen,
2583 BYTE * pOut )
2584 {
2585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2586 if (pAPI == 0)
2587 {
2588 return (ULONG)eGOBI_ERR_INTERNAL;
2589 }
2590
2591 ULONG svcID = 1;
2592 ULONG msgID = 92;
2593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2594 }
2595
2596 /*===========================================================================
2597 METHOD:
2598 WDSSetEVDOLongSleep
2599
2600 DESCRIPTION:
2601 The function sends 'WDS/Set EV-DO Long Sleep Request' (0x005D)
2602 and returns the response
2603
2604 PARAMETERS:
2605 handle [ I ] - Gobi interface handle
2606 to [ I ] - Timeout for transaction (in milliseconds)
2607 inLen [ I ] - Length of input buffer
2608 pIn [ I ] - Input buffer
2609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2610 contain, upon output the number of BYTEs copied
2611 to pOut
2612 pOut [ O ] - Output buffer
2613
2614 RETURN VALUE:
2615 ULONG - Return code
2616 ===========================================================================*/
2617 ULONG WDSSetEVDOLongSleep(
2618 GOBIHANDLE handle,
2619 ULONG to,
2620 ULONG inLen,
2621 const BYTE * pIn,
2622 ULONG * pOutLen,
2623 BYTE * pOut )
2624 {
2625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2626 if (pAPI == 0)
2627 {
2628 return (ULONG)eGOBI_ERR_INTERNAL;
2629 }
2630
2631 ULONG svcID = 1;
2632 ULONG msgID = 93;
2633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2634 }
2635
2636 /*===========================================================================
2637 METHOD:
2638 WDSGetEVDOPageMonitorPeriod
2639
2640 DESCRIPTION:
2641 The function sends 'WDS/Get EV-DO Page Monitor Period Request' (0x005E)
2642 and returns the response
2643
2644 PARAMETERS:
2645 handle [ I ] - Gobi interface handle
2646 to [ I ] - Timeout for transaction (in milliseconds)
2647 inLen [ I ] - Reserved for future use (set to 0)
2648 pIn [ I ] - Reserved for future use (set to 0)
2649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2650 contain, upon output the number of BYTEs copied
2651 to pOut
2652 pOut [ O ] - Output buffer
2653
2654 RETURN VALUE:
2655 ULONG - Return code
2656 ===========================================================================*/
2657 ULONG WDSGetEVDOPageMonitorPeriod(
2658 GOBIHANDLE handle,
2659 ULONG to,
2660 ULONG inLen,
2661 const BYTE * pIn,
2662 ULONG * pOutLen,
2663 BYTE * pOut )
2664 {
2665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2666 if (pAPI == 0)
2667 {
2668 return (ULONG)eGOBI_ERR_INTERNAL;
2669 }
2670
2671 ULONG svcID = 1;
2672 ULONG msgID = 94;
2673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2674 }
2675
2676 /*===========================================================================
2677 METHOD:
2678 WDSGetCallThrottleInfo
2679
2680 DESCRIPTION:
2681 The function sends 'WDS/Get Call Throttle Info Request' (0x005F)
2682 and returns the response
2683
2684 PARAMETERS:
2685 handle [ I ] - Gobi interface handle
2686 to [ I ] - Timeout for transaction (in milliseconds)
2687 inLen [ I ] - Reserved for future use (set to 0)
2688 pIn [ I ] - Reserved for future use (set to 0)
2689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2690 contain, upon output the number of BYTEs copied
2691 to pOut
2692 pOut [ O ] - Output buffer
2693
2694 RETURN VALUE:
2695 ULONG - Return code
2696 ===========================================================================*/
2697 ULONG WDSGetCallThrottleInfo(
2698 GOBIHANDLE handle,
2699 ULONG to,
2700 ULONG inLen,
2701 const BYTE * pIn,
2702 ULONG * pOutLen,
2703 BYTE * pOut )
2704 {
2705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2706 if (pAPI == 0)
2707 {
2708 return (ULONG)eGOBI_ERR_INTERNAL;
2709 }
2710
2711 ULONG svcID = 1;
2712 ULONG msgID = 95;
2713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2714 }
2715
2716 /*===========================================================================
2717 METHOD:
2718 WDSGetNSAPI
2719
2720 DESCRIPTION:
2721 The function sends 'WDS/Get NSAPI Request' (0x0060)
2722 and returns the response
2723
2724 PARAMETERS:
2725 handle [ I ] - Gobi interface handle
2726 to [ I ] - Timeout for transaction (in milliseconds)
2727 inLen [ I ] - Length of input buffer
2728 pIn [ I ] - Input buffer
2729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2730 contain, upon output the number of BYTEs copied
2731 to pOut
2732 pOut [ O ] - Output buffer
2733
2734 RETURN VALUE:
2735 ULONG - Return code
2736 ===========================================================================*/
2737 ULONG WDSGetNSAPI(
2738 GOBIHANDLE handle,
2739 ULONG to,
2740 ULONG inLen,
2741 const BYTE * pIn,
2742 ULONG * pOutLen,
2743 BYTE * pOut )
2744 {
2745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2746 if (pAPI == 0)
2747 {
2748 return (ULONG)eGOBI_ERR_INTERNAL;
2749 }
2750
2751 ULONG svcID = 1;
2752 ULONG msgID = 96;
2753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2754 }
2755
2756 /*===========================================================================
2757 METHOD:
2758 WDSSetDUNCallControlPreference
2759
2760 DESCRIPTION:
2761 The function sends 'WDS/Set DUN Call Control Preference Request' (0x0061)
2762 and returns the response
2763
2764 PARAMETERS:
2765 handle [ I ] - Gobi interface handle
2766 to [ I ] - Timeout for transaction (in milliseconds)
2767 inLen [ I ] - Length of input buffer
2768 pIn [ I ] - Input buffer
2769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2770 contain, upon output the number of BYTEs copied
2771 to pOut
2772 pOut [ O ] - Output buffer
2773
2774 RETURN VALUE:
2775 ULONG - Return code
2776 ===========================================================================*/
2777 ULONG WDSSetDUNCallControlPreference(
2778 GOBIHANDLE handle,
2779 ULONG to,
2780 ULONG inLen,
2781 const BYTE * pIn,
2782 ULONG * pOutLen,
2783 BYTE * pOut )
2784 {
2785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2786 if (pAPI == 0)
2787 {
2788 return (ULONG)eGOBI_ERR_INTERNAL;
2789 }
2790
2791 ULONG svcID = 1;
2792 ULONG msgID = 97;
2793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2794 }
2795
2796 /*===========================================================================
2797 METHOD:
2798 WDSGetDUNCallControlInfo
2799
2800 DESCRIPTION:
2801 The function sends 'WDS/Get DUN Call Control Info Request' (0x0062)
2802 and returns the response
2803
2804 PARAMETERS:
2805 handle [ I ] - Gobi interface handle
2806 to [ I ] - Timeout for transaction (in milliseconds)
2807 inLen [ I ] - Reserved for future use (set to 0)
2808 pIn [ I ] - Reserved for future use (set to 0)
2809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2810 contain, upon output the number of BYTEs copied
2811 to pOut
2812 pOut [ O ] - Output buffer
2813
2814 RETURN VALUE:
2815 ULONG - Return code
2816 ===========================================================================*/
2817 ULONG WDSGetDUNCallControlInfo(
2818 GOBIHANDLE handle,
2819 ULONG to,
2820 ULONG inLen,
2821 const BYTE * pIn,
2822 ULONG * pOutLen,
2823 BYTE * pOut )
2824 {
2825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2826 if (pAPI == 0)
2827 {
2828 return (ULONG)eGOBI_ERR_INTERNAL;
2829 }
2830
2831 ULONG svcID = 1;
2832 ULONG msgID = 98;
2833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2834 }
2835
2836 /*===========================================================================
2837 METHOD:
2838 WDSSetDUNCallControlEventReport
2839
2840 DESCRIPTION:
2841 The function sends 'WDS/Set DUN Call Control Event Report Request' (0x0063)
2842 and returns the response
2843
2844 PARAMETERS:
2845 handle [ I ] - Gobi interface handle
2846 to [ I ] - Timeout for transaction (in milliseconds)
2847 inLen [ I ] - Length of input buffer
2848 pIn [ I ] - Input buffer
2849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2850 contain, upon output the number of BYTEs copied
2851 to pOut
2852 pOut [ O ] - Output buffer
2853
2854 RETURN VALUE:
2855 ULONG - Return code
2856 ===========================================================================*/
2857 ULONG WDSSetDUNCallControlEventReport(
2858 GOBIHANDLE handle,
2859 ULONG to,
2860 ULONG inLen,
2861 const BYTE * pIn,
2862 ULONG * pOutLen,
2863 BYTE * pOut )
2864 {
2865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2866 if (pAPI == 0)
2867 {
2868 return (ULONG)eGOBI_ERR_INTERNAL;
2869 }
2870
2871 ULONG svcID = 1;
2872 ULONG msgID = 99;
2873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2874 }
2875
2876 /*===========================================================================
2877 METHOD:
2878 WDSPendingDUNCallControl
2879
2880 DESCRIPTION:
2881 The function sends 'WDS/Pending DUN Call Control Request' (0x0064)
2882 and returns the response
2883
2884 PARAMETERS:
2885 handle [ I ] - Gobi interface handle
2886 to [ I ] - Timeout for transaction (in milliseconds)
2887 inLen [ I ] - Length of input buffer
2888 pIn [ I ] - Input buffer
2889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2890 contain, upon output the number of BYTEs copied
2891 to pOut
2892 pOut [ O ] - Output buffer
2893
2894 RETURN VALUE:
2895 ULONG - Return code
2896 ===========================================================================*/
2897 ULONG WDSPendingDUNCallControl(
2898 GOBIHANDLE handle,
2899 ULONG to,
2900 ULONG inLen,
2901 const BYTE * pIn,
2902 ULONG * pOutLen,
2903 BYTE * pOut )
2904 {
2905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2906 if (pAPI == 0)
2907 {
2908 return (ULONG)eGOBI_ERR_INTERNAL;
2909 }
2910
2911 ULONG svcID = 1;
2912 ULONG msgID = 100;
2913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2914 }
2915
2916 /*===========================================================================
2917 METHOD:
2918 WDSEMBMSTMGIActivate
2919
2920 DESCRIPTION:
2921 The function sends 'WDS/EMBMS TMGI Activate Request' (0x0065)
2922 and returns the response
2923
2924 PARAMETERS:
2925 handle [ I ] - Gobi interface handle
2926 to [ I ] - Timeout for transaction (in milliseconds)
2927 inLen [ I ] - Length of input buffer
2928 pIn [ I ] - Input buffer
2929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2930 contain, upon output the number of BYTEs copied
2931 to pOut
2932 pOut [ O ] - Output buffer
2933
2934 RETURN VALUE:
2935 ULONG - Return code
2936 ===========================================================================*/
2937 ULONG WDSEMBMSTMGIActivate(
2938 GOBIHANDLE handle,
2939 ULONG to,
2940 ULONG inLen,
2941 const BYTE * pIn,
2942 ULONG * pOutLen,
2943 BYTE * pOut )
2944 {
2945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2946 if (pAPI == 0)
2947 {
2948 return (ULONG)eGOBI_ERR_INTERNAL;
2949 }
2950
2951 ULONG svcID = 1;
2952 ULONG msgID = 101;
2953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2954 }
2955
2956 /*===========================================================================
2957 METHOD:
2958 WDSEMBMSTMGIDeactivate
2959
2960 DESCRIPTION:
2961 The function sends 'WDS/EMBMS TMGI Deactivate Request' (0x0066)
2962 and returns the response
2963
2964 PARAMETERS:
2965 handle [ I ] - Gobi interface handle
2966 to [ I ] - Timeout for transaction (in milliseconds)
2967 inLen [ I ] - Length of input buffer
2968 pIn [ I ] - Input buffer
2969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
2970 contain, upon output the number of BYTEs copied
2971 to pOut
2972 pOut [ O ] - Output buffer
2973
2974 RETURN VALUE:
2975 ULONG - Return code
2976 ===========================================================================*/
2977 ULONG WDSEMBMSTMGIDeactivate(
2978 GOBIHANDLE handle,
2979 ULONG to,
2980 ULONG inLen,
2981 const BYTE * pIn,
2982 ULONG * pOutLen,
2983 BYTE * pOut )
2984 {
2985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
2986 if (pAPI == 0)
2987 {
2988 return (ULONG)eGOBI_ERR_INTERNAL;
2989 }
2990
2991 ULONG svcID = 1;
2992 ULONG msgID = 102;
2993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
2994 }
2995
2996 /*===========================================================================
2997 METHOD:
2998 WDSEMBMSTMGIListQuery
2999
3000 DESCRIPTION:
3001 The function sends 'WDS/EMBMS TMGI List Query Request' (0x0067)
3002 and returns the response
3003
3004 PARAMETERS:
3005 handle [ I ] - Gobi interface handle
3006 to [ I ] - Timeout for transaction (in milliseconds)
3007 inLen [ I ] - Length of input buffer
3008 pIn [ I ] - Input buffer
3009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3010 contain, upon output the number of BYTEs copied
3011 to pOut
3012 pOut [ O ] - Output buffer
3013
3014 RETURN VALUE:
3015 ULONG - Return code
3016 ===========================================================================*/
3017 ULONG WDSEMBMSTMGIListQuery(
3018 GOBIHANDLE handle,
3019 ULONG to,
3020 ULONG inLen,
3021 const BYTE * pIn,
3022 ULONG * pOutLen,
3023 BYTE * pOut )
3024 {
3025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3026 if (pAPI == 0)
3027 {
3028 return (ULONG)eGOBI_ERR_INTERNAL;
3029 }
3030
3031 ULONG svcID = 1;
3032 ULONG msgID = 103;
3033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3034 }
3035
3036 /*===========================================================================
3037 METHOD:
3038 WDSGetPreferredDataSystem
3039
3040 DESCRIPTION:
3041 The function sends 'WDS/Get Preferred Data System Request' (0x0069)
3042 and returns the response
3043
3044 PARAMETERS:
3045 handle [ I ] - Gobi interface handle
3046 to [ I ] - Timeout for transaction (in milliseconds)
3047 inLen [ I ] - Reserved for future use (set to 0)
3048 pIn [ I ] - Reserved for future use (set to 0)
3049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3050 contain, upon output the number of BYTEs copied
3051 to pOut
3052 pOut [ O ] - Output buffer
3053
3054 RETURN VALUE:
3055 ULONG - Return code
3056 ===========================================================================*/
3057 ULONG WDSGetPreferredDataSystem(
3058 GOBIHANDLE handle,
3059 ULONG to,
3060 ULONG inLen,
3061 const BYTE * pIn,
3062 ULONG * pOutLen,
3063 BYTE * pOut )
3064 {
3065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3066 if (pAPI == 0)
3067 {
3068 return (ULONG)eGOBI_ERR_INTERNAL;
3069 }
3070
3071 ULONG svcID = 1;
3072 ULONG msgID = 105;
3073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3074 }
3075
3076 /*===========================================================================
3077 METHOD:
3078 WDSGetLastDataCallStatus
3079
3080 DESCRIPTION:
3081 The function sends 'WDS/Get Last Data Call Status Request' (0x006A)
3082 and returns the response
3083
3084 PARAMETERS:
3085 handle [ I ] - Gobi interface handle
3086 to [ I ] - Timeout for transaction (in milliseconds)
3087 inLen [ I ] - Reserved for future use (set to 0)
3088 pIn [ I ] - Reserved for future use (set to 0)
3089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3090 contain, upon output the number of BYTEs copied
3091 to pOut
3092 pOut [ O ] - Output buffer
3093
3094 RETURN VALUE:
3095 ULONG - Return code
3096 ===========================================================================*/
3097 ULONG WDSGetLastDataCallStatus(
3098 GOBIHANDLE handle,
3099 ULONG to,
3100 ULONG inLen,
3101 const BYTE * pIn,
3102 ULONG * pOutLen,
3103 BYTE * pOut )
3104 {
3105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3106 if (pAPI == 0)
3107 {
3108 return (ULONG)eGOBI_ERR_INTERNAL;
3109 }
3110
3111 ULONG svcID = 1;
3112 ULONG msgID = 106;
3113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3114 }
3115
3116 /*===========================================================================
3117 METHOD:
3118 WDSGetCurrentDataSystems
3119
3120 DESCRIPTION:
3121 The function sends 'WDS/Get Current Data Systems Request' (0x006B)
3122 and returns the response
3123
3124 PARAMETERS:
3125 handle [ I ] - Gobi interface handle
3126 to [ I ] - Timeout for transaction (in milliseconds)
3127 inLen [ I ] - Reserved for future use (set to 0)
3128 pIn [ I ] - Reserved for future use (set to 0)
3129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3130 contain, upon output the number of BYTEs copied
3131 to pOut
3132 pOut [ O ] - Output buffer
3133
3134 RETURN VALUE:
3135 ULONG - Return code
3136 ===========================================================================*/
3137 ULONG WDSGetCurrentDataSystems(
3138 GOBIHANDLE handle,
3139 ULONG to,
3140 ULONG inLen,
3141 const BYTE * pIn,
3142 ULONG * pOutLen,
3143 BYTE * pOut )
3144 {
3145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3146 if (pAPI == 0)
3147 {
3148 return (ULONG)eGOBI_ERR_INTERNAL;
3149 }
3150
3151 ULONG svcID = 1;
3152 ULONG msgID = 107;
3153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3154 }
3155
3156 /*===========================================================================
3157 METHOD:
3158 WDSGetPDNThrottleInfo
3159
3160 DESCRIPTION:
3161 The function sends 'WDS/Get PDN Throttle Info Request' (0x006C)
3162 and returns the response
3163
3164 PARAMETERS:
3165 handle [ I ] - Gobi interface handle
3166 to [ I ] - Timeout for transaction (in milliseconds)
3167 inLen [ I ] - Length of input buffer
3168 pIn [ I ] - Input buffer
3169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3170 contain, upon output the number of BYTEs copied
3171 to pOut
3172 pOut [ O ] - Output buffer
3173
3174 RETURN VALUE:
3175 ULONG - Return code
3176 ===========================================================================*/
3177 ULONG WDSGetPDNThrottleInfo(
3178 GOBIHANDLE handle,
3179 ULONG to,
3180 ULONG inLen,
3181 const BYTE * pIn,
3182 ULONG * pOutLen,
3183 BYTE * pOut )
3184 {
3185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3186 if (pAPI == 0)
3187 {
3188 return (ULONG)eGOBI_ERR_INTERNAL;
3189 }
3190
3191 ULONG svcID = 1;
3192 ULONG msgID = 108;
3193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3194 }
3195
3196 /*===========================================================================
3197 METHOD:
3198 WDSGetLTEAttachParameters
3199
3200 DESCRIPTION:
3201 The function sends 'WDS/Get LTE Attach Parameters Request' (0x0085)
3202 and returns the response
3203
3204 PARAMETERS:
3205 handle [ I ] - Gobi interface handle
3206 to [ I ] - Timeout for transaction (in milliseconds)
3207 inLen [ I ] - Reserved for future use (set to 0)
3208 pIn [ I ] - Reserved for future use (set to 0)
3209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3210 contain, upon output the number of BYTEs copied
3211 to pOut
3212 pOut [ O ] - Output buffer
3213
3214 RETURN VALUE:
3215 ULONG - Return code
3216 ===========================================================================*/
3217 ULONG WDSGetLTEAttachParameters(
3218 GOBIHANDLE handle,
3219 ULONG to,
3220 ULONG inLen,
3221 const BYTE * pIn,
3222 ULONG * pOutLen,
3223 BYTE * pOut )
3224 {
3225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3226 if (pAPI == 0)
3227 {
3228 return (ULONG)eGOBI_ERR_INTERNAL;
3229 }
3230
3231 ULONG svcID = 1;
3232 ULONG msgID = 133;
3233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3234 }
3235
3236 /*===========================================================================
3237 METHOD:
3238 WDSResetPacketStatistics
3239
3240 DESCRIPTION:
3241 The function sends 'WDS/Reset Packet Statistics Request' (0x0086)
3242 and returns the response
3243
3244 PARAMETERS:
3245 handle [ I ] - Gobi interface handle
3246 to [ I ] - Timeout for transaction (in milliseconds)
3247 inLen [ I ] - Reserved for future use (set to 0)
3248 pIn [ I ] - Reserved for future use (set to 0)
3249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3250 contain, upon output the number of BYTEs copied
3251 to pOut
3252 pOut [ O ] - Output buffer
3253
3254 RETURN VALUE:
3255 ULONG - Return code
3256 ===========================================================================*/
3257 ULONG WDSResetPacketStatistics(
3258 GOBIHANDLE handle,
3259 ULONG to,
3260 ULONG inLen,
3261 const BYTE * pIn,
3262 ULONG * pOutLen,
3263 BYTE * pOut )
3264 {
3265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3266 if (pAPI == 0)
3267 {
3268 return (ULONG)eGOBI_ERR_INTERNAL;
3269 }
3270
3271 ULONG svcID = 1;
3272 ULONG msgID = 134;
3273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3274 }
3275
3276 /*===========================================================================
3277 METHOD:
3278 WDSGetFlowControlStatus
3279
3280 DESCRIPTION:
3281 The function sends 'WDS/Get Flow Control Status Request' (0x0087)
3282 and returns the response
3283
3284 PARAMETERS:
3285 handle [ I ] - Gobi interface handle
3286 to [ I ] - Timeout for transaction (in milliseconds)
3287 inLen [ I ] - Reserved for future use (set to 0)
3288 pIn [ I ] - Reserved for future use (set to 0)
3289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3290 contain, upon output the number of BYTEs copied
3291 to pOut
3292 pOut [ O ] - Output buffer
3293
3294 RETURN VALUE:
3295 ULONG - Return code
3296 ===========================================================================*/
3297 ULONG WDSGetFlowControlStatus(
3298 GOBIHANDLE handle,
3299 ULONG to,
3300 ULONG inLen,
3301 const BYTE * pIn,
3302 ULONG * pOutLen,
3303 BYTE * pOut )
3304 {
3305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3306 if (pAPI == 0)
3307 {
3308 return (ULONG)eGOBI_ERR_INTERNAL;
3309 }
3310
3311 ULONG svcID = 1;
3312 ULONG msgID = 135;
3313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3314 }
3315
3316 /*===========================================================================
3317 METHOD:
3318 DMSReset
3319
3320 DESCRIPTION:
3321 The function sends 'DMS/Reset Request' (0x0000)
3322 and returns the response
3323
3324 PARAMETERS:
3325 handle [ I ] - Gobi interface handle
3326 to [ I ] - Timeout for transaction (in milliseconds)
3327 inLen [ I ] - Reserved for future use (set to 0)
3328 pIn [ I ] - Reserved for future use (set to 0)
3329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3330 contain, upon output the number of BYTEs copied
3331 to pOut
3332 pOut [ O ] - Output buffer
3333
3334 RETURN VALUE:
3335 ULONG - Return code
3336 ===========================================================================*/
3337 ULONG DMSReset(
3338 GOBIHANDLE handle,
3339 ULONG to,
3340 ULONG inLen,
3341 const BYTE * pIn,
3342 ULONG * pOutLen,
3343 BYTE * pOut )
3344 {
3345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3346 if (pAPI == 0)
3347 {
3348 return (ULONG)eGOBI_ERR_INTERNAL;
3349 }
3350
3351 ULONG svcID = 2;
3352 ULONG msgID = 0;
3353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3354 }
3355
3356 /*===========================================================================
3357 METHOD:
3358 DMSSetEventReport
3359
3360 DESCRIPTION:
3361 The function sends 'DMS/Set Event Report Request' (0x0001)
3362 and returns the response
3363
3364 PARAMETERS:
3365 handle [ I ] - Gobi interface handle
3366 to [ I ] - Timeout for transaction (in milliseconds)
3367 inLen [ I ] - Length of input buffer
3368 pIn [ I ] - Input buffer
3369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3370 contain, upon output the number of BYTEs copied
3371 to pOut
3372 pOut [ O ] - Output buffer
3373
3374 RETURN VALUE:
3375 ULONG - Return code
3376 ===========================================================================*/
3377 ULONG DMSSetEventReport(
3378 GOBIHANDLE handle,
3379 ULONG to,
3380 ULONG inLen,
3381 const BYTE * pIn,
3382 ULONG * pOutLen,
3383 BYTE * pOut )
3384 {
3385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3386 if (pAPI == 0)
3387 {
3388 return (ULONG)eGOBI_ERR_INTERNAL;
3389 }
3390
3391 ULONG svcID = 2;
3392 ULONG msgID = 1;
3393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3394 }
3395
3396 /*===========================================================================
3397 METHOD:
3398 DMSGetDeviceCapabilities
3399
3400 DESCRIPTION:
3401 The function sends 'DMS/Get Device Capabilities Request' (0x0020)
3402 and returns the response
3403
3404 PARAMETERS:
3405 handle [ I ] - Gobi interface handle
3406 to [ I ] - Timeout for transaction (in milliseconds)
3407 inLen [ I ] - Reserved for future use (set to 0)
3408 pIn [ I ] - Reserved for future use (set to 0)
3409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3410 contain, upon output the number of BYTEs copied
3411 to pOut
3412 pOut [ O ] - Output buffer
3413
3414 RETURN VALUE:
3415 ULONG - Return code
3416 ===========================================================================*/
3417 ULONG DMSGetDeviceCapabilities(
3418 GOBIHANDLE handle,
3419 ULONG to,
3420 ULONG inLen,
3421 const BYTE * pIn,
3422 ULONG * pOutLen,
3423 BYTE * pOut )
3424 {
3425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3426 if (pAPI == 0)
3427 {
3428 return (ULONG)eGOBI_ERR_INTERNAL;
3429 }
3430
3431 ULONG svcID = 2;
3432 ULONG msgID = 32;
3433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3434 }
3435
3436 /*===========================================================================
3437 METHOD:
3438 DMSGetDeviceManfacturer
3439
3440 DESCRIPTION:
3441 The function sends 'DMS/Get Device Manfacturer Request' (0x0021)
3442 and returns the response
3443
3444 PARAMETERS:
3445 handle [ I ] - Gobi interface handle
3446 to [ I ] - Timeout for transaction (in milliseconds)
3447 inLen [ I ] - Reserved for future use (set to 0)
3448 pIn [ I ] - Reserved for future use (set to 0)
3449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3450 contain, upon output the number of BYTEs copied
3451 to pOut
3452 pOut [ O ] - Output buffer
3453
3454 RETURN VALUE:
3455 ULONG - Return code
3456 ===========================================================================*/
3457 ULONG DMSGetDeviceManfacturer(
3458 GOBIHANDLE handle,
3459 ULONG to,
3460 ULONG inLen,
3461 const BYTE * pIn,
3462 ULONG * pOutLen,
3463 BYTE * pOut )
3464 {
3465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3466 if (pAPI == 0)
3467 {
3468 return (ULONG)eGOBI_ERR_INTERNAL;
3469 }
3470
3471 ULONG svcID = 2;
3472 ULONG msgID = 33;
3473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3474 }
3475
3476 /*===========================================================================
3477 METHOD:
3478 DMSGetDeviceModel
3479
3480 DESCRIPTION:
3481 The function sends 'DMS/Get Device Model Request' (0x0022)
3482 and returns the response
3483
3484 PARAMETERS:
3485 handle [ I ] - Gobi interface handle
3486 to [ I ] - Timeout for transaction (in milliseconds)
3487 inLen [ I ] - Reserved for future use (set to 0)
3488 pIn [ I ] - Reserved for future use (set to 0)
3489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3490 contain, upon output the number of BYTEs copied
3491 to pOut
3492 pOut [ O ] - Output buffer
3493
3494 RETURN VALUE:
3495 ULONG - Return code
3496 ===========================================================================*/
3497 ULONG DMSGetDeviceModel(
3498 GOBIHANDLE handle,
3499 ULONG to,
3500 ULONG inLen,
3501 const BYTE * pIn,
3502 ULONG * pOutLen,
3503 BYTE * pOut )
3504 {
3505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3506 if (pAPI == 0)
3507 {
3508 return (ULONG)eGOBI_ERR_INTERNAL;
3509 }
3510
3511 ULONG svcID = 2;
3512 ULONG msgID = 34;
3513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3514 }
3515
3516 /*===========================================================================
3517 METHOD:
3518 DMSGetDeviceRevision
3519
3520 DESCRIPTION:
3521 The function sends 'DMS/Get Device Revision Request' (0x0023)
3522 and returns the response
3523
3524 PARAMETERS:
3525 handle [ I ] - Gobi interface handle
3526 to [ I ] - Timeout for transaction (in milliseconds)
3527 inLen [ I ] - Reserved for future use (set to 0)
3528 pIn [ I ] - Reserved for future use (set to 0)
3529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3530 contain, upon output the number of BYTEs copied
3531 to pOut
3532 pOut [ O ] - Output buffer
3533
3534 RETURN VALUE:
3535 ULONG - Return code
3536 ===========================================================================*/
3537 ULONG DMSGetDeviceRevision(
3538 GOBIHANDLE handle,
3539 ULONG to,
3540 ULONG inLen,
3541 const BYTE * pIn,
3542 ULONG * pOutLen,
3543 BYTE * pOut )
3544 {
3545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3546 if (pAPI == 0)
3547 {
3548 return (ULONG)eGOBI_ERR_INTERNAL;
3549 }
3550
3551 ULONG svcID = 2;
3552 ULONG msgID = 35;
3553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3554 }
3555
3556 /*===========================================================================
3557 METHOD:
3558 DMSGetDeviceVoiceNumber
3559
3560 DESCRIPTION:
3561 The function sends 'DMS/Get Device Voice Number Request' (0x0024)
3562 and returns the response
3563
3564 PARAMETERS:
3565 handle [ I ] - Gobi interface handle
3566 to [ I ] - Timeout for transaction (in milliseconds)
3567 inLen [ I ] - Reserved for future use (set to 0)
3568 pIn [ I ] - Reserved for future use (set to 0)
3569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3570 contain, upon output the number of BYTEs copied
3571 to pOut
3572 pOut [ O ] - Output buffer
3573
3574 RETURN VALUE:
3575 ULONG - Return code
3576 ===========================================================================*/
3577 ULONG DMSGetDeviceVoiceNumber(
3578 GOBIHANDLE handle,
3579 ULONG to,
3580 ULONG inLen,
3581 const BYTE * pIn,
3582 ULONG * pOutLen,
3583 BYTE * pOut )
3584 {
3585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3586 if (pAPI == 0)
3587 {
3588 return (ULONG)eGOBI_ERR_INTERNAL;
3589 }
3590
3591 ULONG svcID = 2;
3592 ULONG msgID = 36;
3593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3594 }
3595
3596 /*===========================================================================
3597 METHOD:
3598 DMSGetDeviceSerialNumbers
3599
3600 DESCRIPTION:
3601 The function sends 'DMS/Get Device Serial Numbers Request' (0x0025)
3602 and returns the response
3603
3604 PARAMETERS:
3605 handle [ I ] - Gobi interface handle
3606 to [ I ] - Timeout for transaction (in milliseconds)
3607 inLen [ I ] - Reserved for future use (set to 0)
3608 pIn [ I ] - Reserved for future use (set to 0)
3609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3610 contain, upon output the number of BYTEs copied
3611 to pOut
3612 pOut [ O ] - Output buffer
3613
3614 RETURN VALUE:
3615 ULONG - Return code
3616 ===========================================================================*/
3617 ULONG DMSGetDeviceSerialNumbers(
3618 GOBIHANDLE handle,
3619 ULONG to,
3620 ULONG inLen,
3621 const BYTE * pIn,
3622 ULONG * pOutLen,
3623 BYTE * pOut )
3624 {
3625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3626 if (pAPI == 0)
3627 {
3628 return (ULONG)eGOBI_ERR_INTERNAL;
3629 }
3630
3631 ULONG svcID = 2;
3632 ULONG msgID = 37;
3633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3634 }
3635
3636 /*===========================================================================
3637 METHOD:
3638 DMSGetPowerState
3639
3640 DESCRIPTION:
3641 The function sends 'DMS/Get Power State Request' (0x0026)
3642 and returns the response
3643
3644 PARAMETERS:
3645 handle [ I ] - Gobi interface handle
3646 to [ I ] - Timeout for transaction (in milliseconds)
3647 inLen [ I ] - Reserved for future use (set to 0)
3648 pIn [ I ] - Reserved for future use (set to 0)
3649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3650 contain, upon output the number of BYTEs copied
3651 to pOut
3652 pOut [ O ] - Output buffer
3653
3654 RETURN VALUE:
3655 ULONG - Return code
3656 ===========================================================================*/
3657 ULONG DMSGetPowerState(
3658 GOBIHANDLE handle,
3659 ULONG to,
3660 ULONG inLen,
3661 const BYTE * pIn,
3662 ULONG * pOutLen,
3663 BYTE * pOut )
3664 {
3665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3666 if (pAPI == 0)
3667 {
3668 return (ULONG)eGOBI_ERR_INTERNAL;
3669 }
3670
3671 ULONG svcID = 2;
3672 ULONG msgID = 38;
3673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3674 }
3675
3676 /*===========================================================================
3677 METHOD:
3678 DMSUIMSetPINProtection
3679
3680 DESCRIPTION:
3681 The function sends 'DMS/UIM Set PIN Protection Request' (0x0027)
3682 and returns the response
3683
3684 PARAMETERS:
3685 handle [ I ] - Gobi interface handle
3686 to [ I ] - Timeout for transaction (in milliseconds)
3687 inLen [ I ] - Length of input buffer
3688 pIn [ I ] - Input buffer
3689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3690 contain, upon output the number of BYTEs copied
3691 to pOut
3692 pOut [ O ] - Output buffer
3693
3694 RETURN VALUE:
3695 ULONG - Return code
3696 ===========================================================================*/
3697 ULONG DMSUIMSetPINProtection(
3698 GOBIHANDLE handle,
3699 ULONG to,
3700 ULONG inLen,
3701 const BYTE * pIn,
3702 ULONG * pOutLen,
3703 BYTE * pOut )
3704 {
3705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3706 if (pAPI == 0)
3707 {
3708 return (ULONG)eGOBI_ERR_INTERNAL;
3709 }
3710
3711 ULONG svcID = 2;
3712 ULONG msgID = 39;
3713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3714 }
3715
3716 /*===========================================================================
3717 METHOD:
3718 DMSUIMVerifyPIN
3719
3720 DESCRIPTION:
3721 The function sends 'DMS/UIM Verify PIN Request' (0x0028)
3722 and returns the response
3723
3724 PARAMETERS:
3725 handle [ I ] - Gobi interface handle
3726 to [ I ] - Timeout for transaction (in milliseconds)
3727 inLen [ I ] - Length of input buffer
3728 pIn [ I ] - Input buffer
3729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3730 contain, upon output the number of BYTEs copied
3731 to pOut
3732 pOut [ O ] - Output buffer
3733
3734 RETURN VALUE:
3735 ULONG - Return code
3736 ===========================================================================*/
3737 ULONG DMSUIMVerifyPIN(
3738 GOBIHANDLE handle,
3739 ULONG to,
3740 ULONG inLen,
3741 const BYTE * pIn,
3742 ULONG * pOutLen,
3743 BYTE * pOut )
3744 {
3745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3746 if (pAPI == 0)
3747 {
3748 return (ULONG)eGOBI_ERR_INTERNAL;
3749 }
3750
3751 ULONG svcID = 2;
3752 ULONG msgID = 40;
3753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3754 }
3755
3756 /*===========================================================================
3757 METHOD:
3758 DMSUIMUnblockPIN
3759
3760 DESCRIPTION:
3761 The function sends 'DMS/UIM Unblock PIN Request' (0x0029)
3762 and returns the response
3763
3764 PARAMETERS:
3765 handle [ I ] - Gobi interface handle
3766 to [ I ] - Timeout for transaction (in milliseconds)
3767 inLen [ I ] - Length of input buffer
3768 pIn [ I ] - Input buffer
3769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3770 contain, upon output the number of BYTEs copied
3771 to pOut
3772 pOut [ O ] - Output buffer
3773
3774 RETURN VALUE:
3775 ULONG - Return code
3776 ===========================================================================*/
3777 ULONG DMSUIMUnblockPIN(
3778 GOBIHANDLE handle,
3779 ULONG to,
3780 ULONG inLen,
3781 const BYTE * pIn,
3782 ULONG * pOutLen,
3783 BYTE * pOut )
3784 {
3785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3786 if (pAPI == 0)
3787 {
3788 return (ULONG)eGOBI_ERR_INTERNAL;
3789 }
3790
3791 ULONG svcID = 2;
3792 ULONG msgID = 41;
3793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3794 }
3795
3796 /*===========================================================================
3797 METHOD:
3798 DMSUIMChangePIN
3799
3800 DESCRIPTION:
3801 The function sends 'DMS/UIM Change PIN Request' (0x002A)
3802 and returns the response
3803
3804 PARAMETERS:
3805 handle [ I ] - Gobi interface handle
3806 to [ I ] - Timeout for transaction (in milliseconds)
3807 inLen [ I ] - Length of input buffer
3808 pIn [ I ] - Input buffer
3809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3810 contain, upon output the number of BYTEs copied
3811 to pOut
3812 pOut [ O ] - Output buffer
3813
3814 RETURN VALUE:
3815 ULONG - Return code
3816 ===========================================================================*/
3817 ULONG DMSUIMChangePIN(
3818 GOBIHANDLE handle,
3819 ULONG to,
3820 ULONG inLen,
3821 const BYTE * pIn,
3822 ULONG * pOutLen,
3823 BYTE * pOut )
3824 {
3825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3826 if (pAPI == 0)
3827 {
3828 return (ULONG)eGOBI_ERR_INTERNAL;
3829 }
3830
3831 ULONG svcID = 2;
3832 ULONG msgID = 42;
3833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3834 }
3835
3836 /*===========================================================================
3837 METHOD:
3838 DMSUIMGetPINStatus
3839
3840 DESCRIPTION:
3841 The function sends 'DMS/UIM Get PIN Status Request' (0x002B)
3842 and returns the response
3843
3844 PARAMETERS:
3845 handle [ I ] - Gobi interface handle
3846 to [ I ] - Timeout for transaction (in milliseconds)
3847 inLen [ I ] - Reserved for future use (set to 0)
3848 pIn [ I ] - Reserved for future use (set to 0)
3849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3850 contain, upon output the number of BYTEs copied
3851 to pOut
3852 pOut [ O ] - Output buffer
3853
3854 RETURN VALUE:
3855 ULONG - Return code
3856 ===========================================================================*/
3857 ULONG DMSUIMGetPINStatus(
3858 GOBIHANDLE handle,
3859 ULONG to,
3860 ULONG inLen,
3861 const BYTE * pIn,
3862 ULONG * pOutLen,
3863 BYTE * pOut )
3864 {
3865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3866 if (pAPI == 0)
3867 {
3868 return (ULONG)eGOBI_ERR_INTERNAL;
3869 }
3870
3871 ULONG svcID = 2;
3872 ULONG msgID = 43;
3873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3874 }
3875
3876 /*===========================================================================
3877 METHOD:
3878 DMSGetHardwareRevision
3879
3880 DESCRIPTION:
3881 The function sends 'DMS/Get Hardware Revision Request' (0x002C)
3882 and returns the response
3883
3884 PARAMETERS:
3885 handle [ I ] - Gobi interface handle
3886 to [ I ] - Timeout for transaction (in milliseconds)
3887 inLen [ I ] - Reserved for future use (set to 0)
3888 pIn [ I ] - Reserved for future use (set to 0)
3889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3890 contain, upon output the number of BYTEs copied
3891 to pOut
3892 pOut [ O ] - Output buffer
3893
3894 RETURN VALUE:
3895 ULONG - Return code
3896 ===========================================================================*/
3897 ULONG DMSGetHardwareRevision(
3898 GOBIHANDLE handle,
3899 ULONG to,
3900 ULONG inLen,
3901 const BYTE * pIn,
3902 ULONG * pOutLen,
3903 BYTE * pOut )
3904 {
3905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3906 if (pAPI == 0)
3907 {
3908 return (ULONG)eGOBI_ERR_INTERNAL;
3909 }
3910
3911 ULONG svcID = 2;
3912 ULONG msgID = 44;
3913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3914 }
3915
3916 /*===========================================================================
3917 METHOD:
3918 DMSGetOperatingMode
3919
3920 DESCRIPTION:
3921 The function sends 'DMS/Get Operating Mode Request' (0x002D)
3922 and returns the response
3923
3924 PARAMETERS:
3925 handle [ I ] - Gobi interface handle
3926 to [ I ] - Timeout for transaction (in milliseconds)
3927 inLen [ I ] - Reserved for future use (set to 0)
3928 pIn [ I ] - Reserved for future use (set to 0)
3929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3930 contain, upon output the number of BYTEs copied
3931 to pOut
3932 pOut [ O ] - Output buffer
3933
3934 RETURN VALUE:
3935 ULONG - Return code
3936 ===========================================================================*/
3937 ULONG DMSGetOperatingMode(
3938 GOBIHANDLE handle,
3939 ULONG to,
3940 ULONG inLen,
3941 const BYTE * pIn,
3942 ULONG * pOutLen,
3943 BYTE * pOut )
3944 {
3945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3946 if (pAPI == 0)
3947 {
3948 return (ULONG)eGOBI_ERR_INTERNAL;
3949 }
3950
3951 ULONG svcID = 2;
3952 ULONG msgID = 45;
3953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3954 }
3955
3956 /*===========================================================================
3957 METHOD:
3958 DMSSetOperatingMode
3959
3960 DESCRIPTION:
3961 The function sends 'DMS/Set Operating Mode Request' (0x002E)
3962 and returns the response
3963
3964 PARAMETERS:
3965 handle [ I ] - Gobi interface handle
3966 to [ I ] - Timeout for transaction (in milliseconds)
3967 inLen [ I ] - Length of input buffer
3968 pIn [ I ] - Input buffer
3969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
3970 contain, upon output the number of BYTEs copied
3971 to pOut
3972 pOut [ O ] - Output buffer
3973
3974 RETURN VALUE:
3975 ULONG - Return code
3976 ===========================================================================*/
3977 ULONG DMSSetOperatingMode(
3978 GOBIHANDLE handle,
3979 ULONG to,
3980 ULONG inLen,
3981 const BYTE * pIn,
3982 ULONG * pOutLen,
3983 BYTE * pOut )
3984 {
3985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
3986 if (pAPI == 0)
3987 {
3988 return (ULONG)eGOBI_ERR_INTERNAL;
3989 }
3990
3991 ULONG svcID = 2;
3992 ULONG msgID = 46;
3993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
3994 }
3995
3996 /*===========================================================================
3997 METHOD:
3998 DMSGetTimestamp
3999
4000 DESCRIPTION:
4001 The function sends 'DMS/Get Timestamp Request' (0x002F)
4002 and returns the response
4003
4004 PARAMETERS:
4005 handle [ I ] - Gobi interface handle
4006 to [ I ] - Timeout for transaction (in milliseconds)
4007 inLen [ I ] - Reserved for future use (set to 0)
4008 pIn [ I ] - Reserved for future use (set to 0)
4009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4010 contain, upon output the number of BYTEs copied
4011 to pOut
4012 pOut [ O ] - Output buffer
4013
4014 RETURN VALUE:
4015 ULONG - Return code
4016 ===========================================================================*/
4017 ULONG DMSGetTimestamp(
4018 GOBIHANDLE handle,
4019 ULONG to,
4020 ULONG inLen,
4021 const BYTE * pIn,
4022 ULONG * pOutLen,
4023 BYTE * pOut )
4024 {
4025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4026 if (pAPI == 0)
4027 {
4028 return (ULONG)eGOBI_ERR_INTERNAL;
4029 }
4030
4031 ULONG svcID = 2;
4032 ULONG msgID = 47;
4033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4034 }
4035
4036 /*===========================================================================
4037 METHOD:
4038 DMSGetPRLVersion
4039
4040 DESCRIPTION:
4041 The function sends 'DMS/Get PRL Version Request' (0x0030)
4042 and returns the response
4043
4044 PARAMETERS:
4045 handle [ I ] - Gobi interface handle
4046 to [ I ] - Timeout for transaction (in milliseconds)
4047 inLen [ I ] - Reserved for future use (set to 0)
4048 pIn [ I ] - Reserved for future use (set to 0)
4049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4050 contain, upon output the number of BYTEs copied
4051 to pOut
4052 pOut [ O ] - Output buffer
4053
4054 RETURN VALUE:
4055 ULONG - Return code
4056 ===========================================================================*/
4057 ULONG DMSGetPRLVersion(
4058 GOBIHANDLE handle,
4059 ULONG to,
4060 ULONG inLen,
4061 const BYTE * pIn,
4062 ULONG * pOutLen,
4063 BYTE * pOut )
4064 {
4065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4066 if (pAPI == 0)
4067 {
4068 return (ULONG)eGOBI_ERR_INTERNAL;
4069 }
4070
4071 ULONG svcID = 2;
4072 ULONG msgID = 48;
4073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4074 }
4075
4076 /*===========================================================================
4077 METHOD:
4078 DMSGetActivationState
4079
4080 DESCRIPTION:
4081 The function sends 'DMS/Get Activation State Request' (0x0031)
4082 and returns the response
4083
4084 PARAMETERS:
4085 handle [ I ] - Gobi interface handle
4086 to [ I ] - Timeout for transaction (in milliseconds)
4087 inLen [ I ] - Reserved for future use (set to 0)
4088 pIn [ I ] - Reserved for future use (set to 0)
4089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4090 contain, upon output the number of BYTEs copied
4091 to pOut
4092 pOut [ O ] - Output buffer
4093
4094 RETURN VALUE:
4095 ULONG - Return code
4096 ===========================================================================*/
4097 ULONG DMSGetActivationState(
4098 GOBIHANDLE handle,
4099 ULONG to,
4100 ULONG inLen,
4101 const BYTE * pIn,
4102 ULONG * pOutLen,
4103 BYTE * pOut )
4104 {
4105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4106 if (pAPI == 0)
4107 {
4108 return (ULONG)eGOBI_ERR_INTERNAL;
4109 }
4110
4111 ULONG svcID = 2;
4112 ULONG msgID = 49;
4113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4114 }
4115
4116 /*===========================================================================
4117 METHOD:
4118 DMSActivateAutomatic
4119
4120 DESCRIPTION:
4121 The function sends 'DMS/Activate Automatic Request' (0x0032)
4122 and returns the response
4123
4124 PARAMETERS:
4125 handle [ I ] - Gobi interface handle
4126 to [ I ] - Timeout for transaction (in milliseconds)
4127 inLen [ I ] - Length of input buffer
4128 pIn [ I ] - Input buffer
4129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4130 contain, upon output the number of BYTEs copied
4131 to pOut
4132 pOut [ O ] - Output buffer
4133
4134 RETURN VALUE:
4135 ULONG - Return code
4136 ===========================================================================*/
4137 ULONG DMSActivateAutomatic(
4138 GOBIHANDLE handle,
4139 ULONG to,
4140 ULONG inLen,
4141 const BYTE * pIn,
4142 ULONG * pOutLen,
4143 BYTE * pOut )
4144 {
4145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4146 if (pAPI == 0)
4147 {
4148 return (ULONG)eGOBI_ERR_INTERNAL;
4149 }
4150
4151 ULONG svcID = 2;
4152 ULONG msgID = 50;
4153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4154 }
4155
4156 /*===========================================================================
4157 METHOD:
4158 DMSActivateManual
4159
4160 DESCRIPTION:
4161 The function sends 'DMS/Activate Manual Request' (0x0033)
4162 and returns the response
4163
4164 PARAMETERS:
4165 handle [ I ] - Gobi interface handle
4166 to [ I ] - Timeout for transaction (in milliseconds)
4167 inLen [ I ] - Length of input buffer
4168 pIn [ I ] - Input buffer
4169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4170 contain, upon output the number of BYTEs copied
4171 to pOut
4172 pOut [ O ] - Output buffer
4173
4174 RETURN VALUE:
4175 ULONG - Return code
4176 ===========================================================================*/
4177 ULONG DMSActivateManual(
4178 GOBIHANDLE handle,
4179 ULONG to,
4180 ULONG inLen,
4181 const BYTE * pIn,
4182 ULONG * pOutLen,
4183 BYTE * pOut )
4184 {
4185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4186 if (pAPI == 0)
4187 {
4188 return (ULONG)eGOBI_ERR_INTERNAL;
4189 }
4190
4191 ULONG svcID = 2;
4192 ULONG msgID = 51;
4193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4194 }
4195
4196 /*===========================================================================
4197 METHOD:
4198 DMSGetLockState
4199
4200 DESCRIPTION:
4201 The function sends 'DMS/Get Lock State Request' (0x0034)
4202 and returns the response
4203
4204 PARAMETERS:
4205 handle [ I ] - Gobi interface handle
4206 to [ I ] - Timeout for transaction (in milliseconds)
4207 inLen [ I ] - Reserved for future use (set to 0)
4208 pIn [ I ] - Reserved for future use (set to 0)
4209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4210 contain, upon output the number of BYTEs copied
4211 to pOut
4212 pOut [ O ] - Output buffer
4213
4214 RETURN VALUE:
4215 ULONG - Return code
4216 ===========================================================================*/
4217 ULONG DMSGetLockState(
4218 GOBIHANDLE handle,
4219 ULONG to,
4220 ULONG inLen,
4221 const BYTE * pIn,
4222 ULONG * pOutLen,
4223 BYTE * pOut )
4224 {
4225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4226 if (pAPI == 0)
4227 {
4228 return (ULONG)eGOBI_ERR_INTERNAL;
4229 }
4230
4231 ULONG svcID = 2;
4232 ULONG msgID = 52;
4233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4234 }
4235
4236 /*===========================================================================
4237 METHOD:
4238 DMSSetLockState
4239
4240 DESCRIPTION:
4241 The function sends 'DMS/Set Lock State Request' (0x0035)
4242 and returns the response
4243
4244 PARAMETERS:
4245 handle [ I ] - Gobi interface handle
4246 to [ I ] - Timeout for transaction (in milliseconds)
4247 inLen [ I ] - Length of input buffer
4248 pIn [ I ] - Input buffer
4249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4250 contain, upon output the number of BYTEs copied
4251 to pOut
4252 pOut [ O ] - Output buffer
4253
4254 RETURN VALUE:
4255 ULONG - Return code
4256 ===========================================================================*/
4257 ULONG DMSSetLockState(
4258 GOBIHANDLE handle,
4259 ULONG to,
4260 ULONG inLen,
4261 const BYTE * pIn,
4262 ULONG * pOutLen,
4263 BYTE * pOut )
4264 {
4265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4266 if (pAPI == 0)
4267 {
4268 return (ULONG)eGOBI_ERR_INTERNAL;
4269 }
4270
4271 ULONG svcID = 2;
4272 ULONG msgID = 53;
4273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4274 }
4275
4276 /*===========================================================================
4277 METHOD:
4278 DMSSetLockCode
4279
4280 DESCRIPTION:
4281 The function sends 'DMS/Set Lock Code Request' (0x0036)
4282 and returns the response
4283
4284 PARAMETERS:
4285 handle [ I ] - Gobi interface handle
4286 to [ I ] - Timeout for transaction (in milliseconds)
4287 inLen [ I ] - Length of input buffer
4288 pIn [ I ] - Input buffer
4289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4290 contain, upon output the number of BYTEs copied
4291 to pOut
4292 pOut [ O ] - Output buffer
4293
4294 RETURN VALUE:
4295 ULONG - Return code
4296 ===========================================================================*/
4297 ULONG DMSSetLockCode(
4298 GOBIHANDLE handle,
4299 ULONG to,
4300 ULONG inLen,
4301 const BYTE * pIn,
4302 ULONG * pOutLen,
4303 BYTE * pOut )
4304 {
4305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4306 if (pAPI == 0)
4307 {
4308 return (ULONG)eGOBI_ERR_INTERNAL;
4309 }
4310
4311 ULONG svcID = 2;
4312 ULONG msgID = 54;
4313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4314 }
4315
4316 /*===========================================================================
4317 METHOD:
4318 DMSReadUserData
4319
4320 DESCRIPTION:
4321 The function sends 'DMS/Read User Data Request' (0x0037)
4322 and returns the response
4323
4324 PARAMETERS:
4325 handle [ I ] - Gobi interface handle
4326 to [ I ] - Timeout for transaction (in milliseconds)
4327 inLen [ I ] - Reserved for future use (set to 0)
4328 pIn [ I ] - Reserved for future use (set to 0)
4329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4330 contain, upon output the number of BYTEs copied
4331 to pOut
4332 pOut [ O ] - Output buffer
4333
4334 RETURN VALUE:
4335 ULONG - Return code
4336 ===========================================================================*/
4337 ULONG DMSReadUserData(
4338 GOBIHANDLE handle,
4339 ULONG to,
4340 ULONG inLen,
4341 const BYTE * pIn,
4342 ULONG * pOutLen,
4343 BYTE * pOut )
4344 {
4345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4346 if (pAPI == 0)
4347 {
4348 return (ULONG)eGOBI_ERR_INTERNAL;
4349 }
4350
4351 ULONG svcID = 2;
4352 ULONG msgID = 55;
4353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4354 }
4355
4356 /*===========================================================================
4357 METHOD:
4358 DMSWriteUserData
4359
4360 DESCRIPTION:
4361 The function sends 'DMS/Write User Data Request' (0x0038)
4362 and returns the response
4363
4364 PARAMETERS:
4365 handle [ I ] - Gobi interface handle
4366 to [ I ] - Timeout for transaction (in milliseconds)
4367 inLen [ I ] - Length of input buffer
4368 pIn [ I ] - Input buffer
4369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4370 contain, upon output the number of BYTEs copied
4371 to pOut
4372 pOut [ O ] - Output buffer
4373
4374 RETURN VALUE:
4375 ULONG - Return code
4376 ===========================================================================*/
4377 ULONG DMSWriteUserData(
4378 GOBIHANDLE handle,
4379 ULONG to,
4380 ULONG inLen,
4381 const BYTE * pIn,
4382 ULONG * pOutLen,
4383 BYTE * pOut )
4384 {
4385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4386 if (pAPI == 0)
4387 {
4388 return (ULONG)eGOBI_ERR_INTERNAL;
4389 }
4390
4391 ULONG svcID = 2;
4392 ULONG msgID = 56;
4393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4394 }
4395
4396 /*===========================================================================
4397 METHOD:
4398 DMSReadERIData
4399
4400 DESCRIPTION:
4401 The function sends 'DMS/Read ERI Data Request' (0x0039)
4402 and returns the response
4403
4404 PARAMETERS:
4405 handle [ I ] - Gobi interface handle
4406 to [ I ] - Timeout for transaction (in milliseconds)
4407 inLen [ I ] - Reserved for future use (set to 0)
4408 pIn [ I ] - Reserved for future use (set to 0)
4409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4410 contain, upon output the number of BYTEs copied
4411 to pOut
4412 pOut [ O ] - Output buffer
4413
4414 RETURN VALUE:
4415 ULONG - Return code
4416 ===========================================================================*/
4417 ULONG DMSReadERIData(
4418 GOBIHANDLE handle,
4419 ULONG to,
4420 ULONG inLen,
4421 const BYTE * pIn,
4422 ULONG * pOutLen,
4423 BYTE * pOut )
4424 {
4425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4426 if (pAPI == 0)
4427 {
4428 return (ULONG)eGOBI_ERR_INTERNAL;
4429 }
4430
4431 ULONG svcID = 2;
4432 ULONG msgID = 57;
4433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4434 }
4435
4436 /*===========================================================================
4437 METHOD:
4438 DMSResetFactoryDefaults
4439
4440 DESCRIPTION:
4441 The function sends 'DMS/Reset Factory Defaults Request' (0x003A)
4442 and returns the response
4443
4444 PARAMETERS:
4445 handle [ I ] - Gobi interface handle
4446 to [ I ] - Timeout for transaction (in milliseconds)
4447 inLen [ I ] - Length of input buffer
4448 pIn [ I ] - Input buffer
4449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4450 contain, upon output the number of BYTEs copied
4451 to pOut
4452 pOut [ O ] - Output buffer
4453
4454 RETURN VALUE:
4455 ULONG - Return code
4456 ===========================================================================*/
4457 ULONG DMSResetFactoryDefaults(
4458 GOBIHANDLE handle,
4459 ULONG to,
4460 ULONG inLen,
4461 const BYTE * pIn,
4462 ULONG * pOutLen,
4463 BYTE * pOut )
4464 {
4465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4466 if (pAPI == 0)
4467 {
4468 return (ULONG)eGOBI_ERR_INTERNAL;
4469 }
4470
4471 ULONG svcID = 2;
4472 ULONG msgID = 58;
4473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4474 }
4475
4476 /*===========================================================================
4477 METHOD:
4478 DMSValidateSPC
4479
4480 DESCRIPTION:
4481 The function sends 'DMS/Validate SPC Request' (0x003B)
4482 and returns the response
4483
4484 PARAMETERS:
4485 handle [ I ] - Gobi interface handle
4486 to [ I ] - Timeout for transaction (in milliseconds)
4487 inLen [ I ] - Length of input buffer
4488 pIn [ I ] - Input buffer
4489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4490 contain, upon output the number of BYTEs copied
4491 to pOut
4492 pOut [ O ] - Output buffer
4493
4494 RETURN VALUE:
4495 ULONG - Return code
4496 ===========================================================================*/
4497 ULONG DMSValidateSPC(
4498 GOBIHANDLE handle,
4499 ULONG to,
4500 ULONG inLen,
4501 const BYTE * pIn,
4502 ULONG * pOutLen,
4503 BYTE * pOut )
4504 {
4505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4506 if (pAPI == 0)
4507 {
4508 return (ULONG)eGOBI_ERR_INTERNAL;
4509 }
4510
4511 ULONG svcID = 2;
4512 ULONG msgID = 59;
4513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4514 }
4515
4516 /*===========================================================================
4517 METHOD:
4518 DMSUIMGetICCID
4519
4520 DESCRIPTION:
4521 The function sends 'DMS/UIM Get ICCID Request' (0x003C)
4522 and returns the response
4523
4524 PARAMETERS:
4525 handle [ I ] - Gobi interface handle
4526 to [ I ] - Timeout for transaction (in milliseconds)
4527 inLen [ I ] - Reserved for future use (set to 0)
4528 pIn [ I ] - Reserved for future use (set to 0)
4529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4530 contain, upon output the number of BYTEs copied
4531 to pOut
4532 pOut [ O ] - Output buffer
4533
4534 RETURN VALUE:
4535 ULONG - Return code
4536 ===========================================================================*/
4537 ULONG DMSUIMGetICCID(
4538 GOBIHANDLE handle,
4539 ULONG to,
4540 ULONG inLen,
4541 const BYTE * pIn,
4542 ULONG * pOutLen,
4543 BYTE * pOut )
4544 {
4545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4546 if (pAPI == 0)
4547 {
4548 return (ULONG)eGOBI_ERR_INTERNAL;
4549 }
4550
4551 ULONG svcID = 2;
4552 ULONG msgID = 60;
4553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4554 }
4555
4556 /*===========================================================================
4557 METHOD:
4558 DMSUIMGetHostLockID
4559
4560 DESCRIPTION:
4561 The function sends 'DMS/UIM Get Host Lock ID Request' (0x003F)
4562 and returns the response
4563
4564 PARAMETERS:
4565 handle [ I ] - Gobi interface handle
4566 to [ I ] - Timeout for transaction (in milliseconds)
4567 inLen [ I ] - Reserved for future use (set to 0)
4568 pIn [ I ] - Reserved for future use (set to 0)
4569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4570 contain, upon output the number of BYTEs copied
4571 to pOut
4572 pOut [ O ] - Output buffer
4573
4574 RETURN VALUE:
4575 ULONG - Return code
4576 ===========================================================================*/
4577 ULONG DMSUIMGetHostLockID(
4578 GOBIHANDLE handle,
4579 ULONG to,
4580 ULONG inLen,
4581 const BYTE * pIn,
4582 ULONG * pOutLen,
4583 BYTE * pOut )
4584 {
4585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4586 if (pAPI == 0)
4587 {
4588 return (ULONG)eGOBI_ERR_INTERNAL;
4589 }
4590
4591 ULONG svcID = 2;
4592 ULONG msgID = 63;
4593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4594 }
4595
4596 /*===========================================================================
4597 METHOD:
4598 DMSUIMGetControlKeyStatus
4599
4600 DESCRIPTION:
4601 The function sends 'DMS/UIM Get Control Key Status Request' (0x0040)
4602 and returns the response
4603
4604 PARAMETERS:
4605 handle [ I ] - Gobi interface handle
4606 to [ I ] - Timeout for transaction (in milliseconds)
4607 inLen [ I ] - Length of input buffer
4608 pIn [ I ] - Input buffer
4609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4610 contain, upon output the number of BYTEs copied
4611 to pOut
4612 pOut [ O ] - Output buffer
4613
4614 RETURN VALUE:
4615 ULONG - Return code
4616 ===========================================================================*/
4617 ULONG DMSUIMGetControlKeyStatus(
4618 GOBIHANDLE handle,
4619 ULONG to,
4620 ULONG inLen,
4621 const BYTE * pIn,
4622 ULONG * pOutLen,
4623 BYTE * pOut )
4624 {
4625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4626 if (pAPI == 0)
4627 {
4628 return (ULONG)eGOBI_ERR_INTERNAL;
4629 }
4630
4631 ULONG svcID = 2;
4632 ULONG msgID = 64;
4633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4634 }
4635
4636 /*===========================================================================
4637 METHOD:
4638 DMSUIMSetControlKeyProtection
4639
4640 DESCRIPTION:
4641 The function sends 'DMS/UIM Set Control Key Protection Request' (0x0041)
4642 and returns the response
4643
4644 PARAMETERS:
4645 handle [ I ] - Gobi interface handle
4646 to [ I ] - Timeout for transaction (in milliseconds)
4647 inLen [ I ] - Length of input buffer
4648 pIn [ I ] - Input buffer
4649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4650 contain, upon output the number of BYTEs copied
4651 to pOut
4652 pOut [ O ] - Output buffer
4653
4654 RETURN VALUE:
4655 ULONG - Return code
4656 ===========================================================================*/
4657 ULONG DMSUIMSetControlKeyProtection(
4658 GOBIHANDLE handle,
4659 ULONG to,
4660 ULONG inLen,
4661 const BYTE * pIn,
4662 ULONG * pOutLen,
4663 BYTE * pOut )
4664 {
4665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4666 if (pAPI == 0)
4667 {
4668 return (ULONG)eGOBI_ERR_INTERNAL;
4669 }
4670
4671 ULONG svcID = 2;
4672 ULONG msgID = 65;
4673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4674 }
4675
4676 /*===========================================================================
4677 METHOD:
4678 DMSUIMUnblockControlKey
4679
4680 DESCRIPTION:
4681 The function sends 'DMS/UIM Unblock Control Key Request' (0x0042)
4682 and returns the response
4683
4684 PARAMETERS:
4685 handle [ I ] - Gobi interface handle
4686 to [ I ] - Timeout for transaction (in milliseconds)
4687 inLen [ I ] - Length of input buffer
4688 pIn [ I ] - Input buffer
4689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4690 contain, upon output the number of BYTEs copied
4691 to pOut
4692 pOut [ O ] - Output buffer
4693
4694 RETURN VALUE:
4695 ULONG - Return code
4696 ===========================================================================*/
4697 ULONG DMSUIMUnblockControlKey(
4698 GOBIHANDLE handle,
4699 ULONG to,
4700 ULONG inLen,
4701 const BYTE * pIn,
4702 ULONG * pOutLen,
4703 BYTE * pOut )
4704 {
4705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4706 if (pAPI == 0)
4707 {
4708 return (ULONG)eGOBI_ERR_INTERNAL;
4709 }
4710
4711 ULONG svcID = 2;
4712 ULONG msgID = 66;
4713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4714 }
4715
4716 /*===========================================================================
4717 METHOD:
4718 DMSGetIMSI
4719
4720 DESCRIPTION:
4721 The function sends 'DMS/Get IMSI Request' (0x0043)
4722 and returns the response
4723
4724 PARAMETERS:
4725 handle [ I ] - Gobi interface handle
4726 to [ I ] - Timeout for transaction (in milliseconds)
4727 inLen [ I ] - Reserved for future use (set to 0)
4728 pIn [ I ] - Reserved for future use (set to 0)
4729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4730 contain, upon output the number of BYTEs copied
4731 to pOut
4732 pOut [ O ] - Output buffer
4733
4734 RETURN VALUE:
4735 ULONG - Return code
4736 ===========================================================================*/
4737 ULONG DMSGetIMSI(
4738 GOBIHANDLE handle,
4739 ULONG to,
4740 ULONG inLen,
4741 const BYTE * pIn,
4742 ULONG * pOutLen,
4743 BYTE * pOut )
4744 {
4745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4746 if (pAPI == 0)
4747 {
4748 return (ULONG)eGOBI_ERR_INTERNAL;
4749 }
4750
4751 ULONG svcID = 2;
4752 ULONG msgID = 67;
4753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4754 }
4755
4756 /*===========================================================================
4757 METHOD:
4758 DMSGetUIMState
4759
4760 DESCRIPTION:
4761 The function sends 'DMS/Get UIM State Request' (0x0044)
4762 and returns the response
4763
4764 PARAMETERS:
4765 handle [ I ] - Gobi interface handle
4766 to [ I ] - Timeout for transaction (in milliseconds)
4767 inLen [ I ] - Reserved for future use (set to 0)
4768 pIn [ I ] - Reserved for future use (set to 0)
4769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4770 contain, upon output the number of BYTEs copied
4771 to pOut
4772 pOut [ O ] - Output buffer
4773
4774 RETURN VALUE:
4775 ULONG - Return code
4776 ===========================================================================*/
4777 ULONG DMSGetUIMState(
4778 GOBIHANDLE handle,
4779 ULONG to,
4780 ULONG inLen,
4781 const BYTE * pIn,
4782 ULONG * pOutLen,
4783 BYTE * pOut )
4784 {
4785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4786 if (pAPI == 0)
4787 {
4788 return (ULONG)eGOBI_ERR_INTERNAL;
4789 }
4790
4791 ULONG svcID = 2;
4792 ULONG msgID = 68;
4793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4794 }
4795
4796 /*===========================================================================
4797 METHOD:
4798 DMSGetBandCapabilities
4799
4800 DESCRIPTION:
4801 The function sends 'DMS/Get Band Capabilities Request' (0x0045)
4802 and returns the response
4803
4804 PARAMETERS:
4805 handle [ I ] - Gobi interface handle
4806 to [ I ] - Timeout for transaction (in milliseconds)
4807 inLen [ I ] - Reserved for future use (set to 0)
4808 pIn [ I ] - Reserved for future use (set to 0)
4809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4810 contain, upon output the number of BYTEs copied
4811 to pOut
4812 pOut [ O ] - Output buffer
4813
4814 RETURN VALUE:
4815 ULONG - Return code
4816 ===========================================================================*/
4817 ULONG DMSGetBandCapabilities(
4818 GOBIHANDLE handle,
4819 ULONG to,
4820 ULONG inLen,
4821 const BYTE * pIn,
4822 ULONG * pOutLen,
4823 BYTE * pOut )
4824 {
4825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4826 if (pAPI == 0)
4827 {
4828 return (ULONG)eGOBI_ERR_INTERNAL;
4829 }
4830
4831 ULONG svcID = 2;
4832 ULONG msgID = 69;
4833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4834 }
4835
4836 /*===========================================================================
4837 METHOD:
4838 DMSGetFactorySerialNumber
4839
4840 DESCRIPTION:
4841 The function sends 'DMS/Get Factory Serial Number Request' (0x0046)
4842 and returns the response
4843
4844 PARAMETERS:
4845 handle [ I ] - Gobi interface handle
4846 to [ I ] - Timeout for transaction (in milliseconds)
4847 inLen [ I ] - Reserved for future use (set to 0)
4848 pIn [ I ] - Reserved for future use (set to 0)
4849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4850 contain, upon output the number of BYTEs copied
4851 to pOut
4852 pOut [ O ] - Output buffer
4853
4854 RETURN VALUE:
4855 ULONG - Return code
4856 ===========================================================================*/
4857 ULONG DMSGetFactorySerialNumber(
4858 GOBIHANDLE handle,
4859 ULONG to,
4860 ULONG inLen,
4861 const BYTE * pIn,
4862 ULONG * pOutLen,
4863 BYTE * pOut )
4864 {
4865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4866 if (pAPI == 0)
4867 {
4868 return (ULONG)eGOBI_ERR_INTERNAL;
4869 }
4870
4871 ULONG svcID = 2;
4872 ULONG msgID = 70;
4873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4874 }
4875
4876 /*===========================================================================
4877 METHOD:
4878 DMSSetDeviceTime
4879
4880 DESCRIPTION:
4881 The function sends 'DMS/Set Device Time Request' (0x004B)
4882 and returns the response
4883
4884 PARAMETERS:
4885 handle [ I ] - Gobi interface handle
4886 to [ I ] - Timeout for transaction (in milliseconds)
4887 inLen [ I ] - Length of input buffer
4888 pIn [ I ] - Input buffer
4889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4890 contain, upon output the number of BYTEs copied
4891 to pOut
4892 pOut [ O ] - Output buffer
4893
4894 RETURN VALUE:
4895 ULONG - Return code
4896 ===========================================================================*/
4897 ULONG DMSSetDeviceTime(
4898 GOBIHANDLE handle,
4899 ULONG to,
4900 ULONG inLen,
4901 const BYTE * pIn,
4902 ULONG * pOutLen,
4903 BYTE * pOut )
4904 {
4905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4906 if (pAPI == 0)
4907 {
4908 return (ULONG)eGOBI_ERR_INTERNAL;
4909 }
4910
4911 ULONG svcID = 2;
4912 ULONG msgID = 75;
4913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4914 }
4915
4916 /*===========================================================================
4917 METHOD:
4918 DMSGetSoftwareVersion
4919
4920 DESCRIPTION:
4921 The function sends 'DMS/Get Software Version Request' (0x0051)
4922 and returns the response
4923
4924 PARAMETERS:
4925 handle [ I ] - Gobi interface handle
4926 to [ I ] - Timeout for transaction (in milliseconds)
4927 inLen [ I ] - Reserved for future use (set to 0)
4928 pIn [ I ] - Reserved for future use (set to 0)
4929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4930 contain, upon output the number of BYTEs copied
4931 to pOut
4932 pOut [ O ] - Output buffer
4933
4934 RETURN VALUE:
4935 ULONG - Return code
4936 ===========================================================================*/
4937 ULONG DMSGetSoftwareVersion(
4938 GOBIHANDLE handle,
4939 ULONG to,
4940 ULONG inLen,
4941 const BYTE * pIn,
4942 ULONG * pOutLen,
4943 BYTE * pOut )
4944 {
4945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4946 if (pAPI == 0)
4947 {
4948 return (ULONG)eGOBI_ERR_INTERNAL;
4949 }
4950
4951 ULONG svcID = 2;
4952 ULONG msgID = 81;
4953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4954 }
4955
4956 /*===========================================================================
4957 METHOD:
4958 DMSSetSPC
4959
4960 DESCRIPTION:
4961 The function sends 'DMS/Set SPC Request' (0x0052)
4962 and returns the response
4963
4964 PARAMETERS:
4965 handle [ I ] - Gobi interface handle
4966 to [ I ] - Timeout for transaction (in milliseconds)
4967 inLen [ I ] - Length of input buffer
4968 pIn [ I ] - Input buffer
4969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
4970 contain, upon output the number of BYTEs copied
4971 to pOut
4972 pOut [ O ] - Output buffer
4973
4974 RETURN VALUE:
4975 ULONG - Return code
4976 ===========================================================================*/
4977 ULONG DMSSetSPC(
4978 GOBIHANDLE handle,
4979 ULONG to,
4980 ULONG inLen,
4981 const BYTE * pIn,
4982 ULONG * pOutLen,
4983 BYTE * pOut )
4984 {
4985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
4986 if (pAPI == 0)
4987 {
4988 return (ULONG)eGOBI_ERR_INTERNAL;
4989 }
4990
4991 ULONG svcID = 2;
4992 ULONG msgID = 82;
4993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
4994 }
4995
4996 /*===========================================================================
4997 METHOD:
4998 DMSGetCurrentPRLInfo
4999
5000 DESCRIPTION:
5001 The function sends 'DMS/Get Current PRL Info Request' (0x0053)
5002 and returns the response
5003
5004 PARAMETERS:
5005 handle [ I ] - Gobi interface handle
5006 to [ I ] - Timeout for transaction (in milliseconds)
5007 inLen [ I ] - Reserved for future use (set to 0)
5008 pIn [ I ] - Reserved for future use (set to 0)
5009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5010 contain, upon output the number of BYTEs copied
5011 to pOut
5012 pOut [ O ] - Output buffer
5013
5014 RETURN VALUE:
5015 ULONG - Return code
5016 ===========================================================================*/
5017 ULONG DMSGetCurrentPRLInfo(
5018 GOBIHANDLE handle,
5019 ULONG to,
5020 ULONG inLen,
5021 const BYTE * pIn,
5022 ULONG * pOutLen,
5023 BYTE * pOut )
5024 {
5025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5026 if (pAPI == 0)
5027 {
5028 return (ULONG)eGOBI_ERR_INTERNAL;
5029 }
5030
5031 ULONG svcID = 2;
5032 ULONG msgID = 83;
5033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5034 }
5035
5036 /*===========================================================================
5037 METHOD:
5038 NASReset
5039
5040 DESCRIPTION:
5041 The function sends 'NAS/Reset Request' (0x0000)
5042 and returns the response
5043
5044 PARAMETERS:
5045 handle [ I ] - Gobi interface handle
5046 to [ I ] - Timeout for transaction (in milliseconds)
5047 inLen [ I ] - Reserved for future use (set to 0)
5048 pIn [ I ] - Reserved for future use (set to 0)
5049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5050 contain, upon output the number of BYTEs copied
5051 to pOut
5052 pOut [ O ] - Output buffer
5053
5054 RETURN VALUE:
5055 ULONG - Return code
5056 ===========================================================================*/
5057 ULONG NASReset(
5058 GOBIHANDLE handle,
5059 ULONG to,
5060 ULONG inLen,
5061 const BYTE * pIn,
5062 ULONG * pOutLen,
5063 BYTE * pOut )
5064 {
5065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5066 if (pAPI == 0)
5067 {
5068 return (ULONG)eGOBI_ERR_INTERNAL;
5069 }
5070
5071 ULONG svcID = 3;
5072 ULONG msgID = 0;
5073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5074 }
5075
5076 /*===========================================================================
5077 METHOD:
5078 NASAbort
5079
5080 DESCRIPTION:
5081 The function sends 'NAS/Abort Request' (0x0001)
5082 and returns the response
5083
5084 PARAMETERS:
5085 handle [ I ] - Gobi interface handle
5086 to [ I ] - Timeout for transaction (in milliseconds)
5087 inLen [ I ] - Length of input buffer
5088 pIn [ I ] - Input buffer
5089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5090 contain, upon output the number of BYTEs copied
5091 to pOut
5092 pOut [ O ] - Output buffer
5093
5094 RETURN VALUE:
5095 ULONG - Return code
5096 ===========================================================================*/
5097 ULONG NASAbort(
5098 GOBIHANDLE handle,
5099 ULONG to,
5100 ULONG inLen,
5101 const BYTE * pIn,
5102 ULONG * pOutLen,
5103 BYTE * pOut )
5104 {
5105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5106 if (pAPI == 0)
5107 {
5108 return (ULONG)eGOBI_ERR_INTERNAL;
5109 }
5110
5111 ULONG svcID = 3;
5112 ULONG msgID = 1;
5113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5114 }
5115
5116 /*===========================================================================
5117 METHOD:
5118 NASSetEventReport
5119
5120 DESCRIPTION:
5121 The function sends 'NAS/Set Event Report Request' (0x0002)
5122 and returns the response
5123
5124 PARAMETERS:
5125 handle [ I ] - Gobi interface handle
5126 to [ I ] - Timeout for transaction (in milliseconds)
5127 inLen [ I ] - Length of input buffer
5128 pIn [ I ] - Input buffer
5129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5130 contain, upon output the number of BYTEs copied
5131 to pOut
5132 pOut [ O ] - Output buffer
5133
5134 RETURN VALUE:
5135 ULONG - Return code
5136 ===========================================================================*/
5137 ULONG NASSetEventReport(
5138 GOBIHANDLE handle,
5139 ULONG to,
5140 ULONG inLen,
5141 const BYTE * pIn,
5142 ULONG * pOutLen,
5143 BYTE * pOut )
5144 {
5145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5146 if (pAPI == 0)
5147 {
5148 return (ULONG)eGOBI_ERR_INTERNAL;
5149 }
5150
5151 ULONG svcID = 3;
5152 ULONG msgID = 2;
5153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5154 }
5155
5156 /*===========================================================================
5157 METHOD:
5158 NASSetRegistrationEventReport
5159
5160 DESCRIPTION:
5161 The function sends 'NAS/Set Registration Event Report Request' (0x0003)
5162 and returns the response
5163
5164 PARAMETERS:
5165 handle [ I ] - Gobi interface handle
5166 to [ I ] - Timeout for transaction (in milliseconds)
5167 inLen [ I ] - Length of input buffer
5168 pIn [ I ] - Input buffer
5169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5170 contain, upon output the number of BYTEs copied
5171 to pOut
5172 pOut [ O ] - Output buffer
5173
5174 RETURN VALUE:
5175 ULONG - Return code
5176 ===========================================================================*/
5177 ULONG NASSetRegistrationEventReport(
5178 GOBIHANDLE handle,
5179 ULONG to,
5180 ULONG inLen,
5181 const BYTE * pIn,
5182 ULONG * pOutLen,
5183 BYTE * pOut )
5184 {
5185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5186 if (pAPI == 0)
5187 {
5188 return (ULONG)eGOBI_ERR_INTERNAL;
5189 }
5190
5191 ULONG svcID = 3;
5192 ULONG msgID = 3;
5193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5194 }
5195
5196 /*===========================================================================
5197 METHOD:
5198 NASGetSignalStrength
5199
5200 DESCRIPTION:
5201 The function sends 'NAS/Get Signal Strength Request' (0x0020)
5202 and returns the response
5203
5204 PARAMETERS:
5205 handle [ I ] - Gobi interface handle
5206 to [ I ] - Timeout for transaction (in milliseconds)
5207 inLen [ I ] - Length of input buffer
5208 pIn [ I ] - Input buffer
5209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5210 contain, upon output the number of BYTEs copied
5211 to pOut
5212 pOut [ O ] - Output buffer
5213
5214 RETURN VALUE:
5215 ULONG - Return code
5216 ===========================================================================*/
5217 ULONG NASGetSignalStrength(
5218 GOBIHANDLE handle,
5219 ULONG to,
5220 ULONG inLen,
5221 const BYTE * pIn,
5222 ULONG * pOutLen,
5223 BYTE * pOut )
5224 {
5225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5226 if (pAPI == 0)
5227 {
5228 return (ULONG)eGOBI_ERR_INTERNAL;
5229 }
5230
5231 ULONG svcID = 3;
5232 ULONG msgID = 32;
5233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5234 }
5235
5236 /*===========================================================================
5237 METHOD:
5238 NASPerformNetworkScan
5239
5240 DESCRIPTION:
5241 The function sends 'NAS/Perform Network Scan Request' (0x0021)
5242 and returns the response
5243
5244 PARAMETERS:
5245 handle [ I ] - Gobi interface handle
5246 to [ I ] - Timeout for transaction (in milliseconds)
5247 inLen [ I ] - Length of input buffer
5248 pIn [ I ] - Input buffer
5249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5250 contain, upon output the number of BYTEs copied
5251 to pOut
5252 pOut [ O ] - Output buffer
5253
5254 RETURN VALUE:
5255 ULONG - Return code
5256 ===========================================================================*/
5257 ULONG NASPerformNetworkScan(
5258 GOBIHANDLE handle,
5259 ULONG to,
5260 ULONG inLen,
5261 const BYTE * pIn,
5262 ULONG * pOutLen,
5263 BYTE * pOut )
5264 {
5265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5266 if (pAPI == 0)
5267 {
5268 return (ULONG)eGOBI_ERR_INTERNAL;
5269 }
5270
5271 ULONG svcID = 3;
5272 ULONG msgID = 33;
5273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5274 }
5275
5276 /*===========================================================================
5277 METHOD:
5278 NASInitiateNetworkRegister
5279
5280 DESCRIPTION:
5281 The function sends 'NAS/Initiate Network Register Request' (0x0022)
5282 and returns the response
5283
5284 PARAMETERS:
5285 handle [ I ] - Gobi interface handle
5286 to [ I ] - Timeout for transaction (in milliseconds)
5287 inLen [ I ] - Length of input buffer
5288 pIn [ I ] - Input buffer
5289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5290 contain, upon output the number of BYTEs copied
5291 to pOut
5292 pOut [ O ] - Output buffer
5293
5294 RETURN VALUE:
5295 ULONG - Return code
5296 ===========================================================================*/
5297 ULONG NASInitiateNetworkRegister(
5298 GOBIHANDLE handle,
5299 ULONG to,
5300 ULONG inLen,
5301 const BYTE * pIn,
5302 ULONG * pOutLen,
5303 BYTE * pOut )
5304 {
5305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5306 if (pAPI == 0)
5307 {
5308 return (ULONG)eGOBI_ERR_INTERNAL;
5309 }
5310
5311 ULONG svcID = 3;
5312 ULONG msgID = 34;
5313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5314 }
5315
5316 /*===========================================================================
5317 METHOD:
5318 NASInitiateAttach
5319
5320 DESCRIPTION:
5321 The function sends 'NAS/Initiate Attach Request' (0x0023)
5322 and returns the response
5323
5324 PARAMETERS:
5325 handle [ I ] - Gobi interface handle
5326 to [ I ] - Timeout for transaction (in milliseconds)
5327 inLen [ I ] - Length of input buffer
5328 pIn [ I ] - Input buffer
5329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5330 contain, upon output the number of BYTEs copied
5331 to pOut
5332 pOut [ O ] - Output buffer
5333
5334 RETURN VALUE:
5335 ULONG - Return code
5336 ===========================================================================*/
5337 ULONG NASInitiateAttach(
5338 GOBIHANDLE handle,
5339 ULONG to,
5340 ULONG inLen,
5341 const BYTE * pIn,
5342 ULONG * pOutLen,
5343 BYTE * pOut )
5344 {
5345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5346 if (pAPI == 0)
5347 {
5348 return (ULONG)eGOBI_ERR_INTERNAL;
5349 }
5350
5351 ULONG svcID = 3;
5352 ULONG msgID = 35;
5353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5354 }
5355
5356 /*===========================================================================
5357 METHOD:
5358 NASGetServingSystem
5359
5360 DESCRIPTION:
5361 The function sends 'NAS/Get Serving System Request' (0x0024)
5362 and returns the response
5363
5364 PARAMETERS:
5365 handle [ I ] - Gobi interface handle
5366 to [ I ] - Timeout for transaction (in milliseconds)
5367 inLen [ I ] - Reserved for future use (set to 0)
5368 pIn [ I ] - Reserved for future use (set to 0)
5369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5370 contain, upon output the number of BYTEs copied
5371 to pOut
5372 pOut [ O ] - Output buffer
5373
5374 RETURN VALUE:
5375 ULONG - Return code
5376 ===========================================================================*/
5377 ULONG NASGetServingSystem(
5378 GOBIHANDLE handle,
5379 ULONG to,
5380 ULONG inLen,
5381 const BYTE * pIn,
5382 ULONG * pOutLen,
5383 BYTE * pOut )
5384 {
5385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5386 if (pAPI == 0)
5387 {
5388 return (ULONG)eGOBI_ERR_INTERNAL;
5389 }
5390
5391 ULONG svcID = 3;
5392 ULONG msgID = 36;
5393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5394 }
5395
5396 /*===========================================================================
5397 METHOD:
5398 NASGetHomeNetwork
5399
5400 DESCRIPTION:
5401 The function sends 'NAS/Get Home Network Request' (0x0025)
5402 and returns the response
5403
5404 PARAMETERS:
5405 handle [ I ] - Gobi interface handle
5406 to [ I ] - Timeout for transaction (in milliseconds)
5407 inLen [ I ] - Reserved for future use (set to 0)
5408 pIn [ I ] - Reserved for future use (set to 0)
5409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5410 contain, upon output the number of BYTEs copied
5411 to pOut
5412 pOut [ O ] - Output buffer
5413
5414 RETURN VALUE:
5415 ULONG - Return code
5416 ===========================================================================*/
5417 ULONG NASGetHomeNetwork(
5418 GOBIHANDLE handle,
5419 ULONG to,
5420 ULONG inLen,
5421 const BYTE * pIn,
5422 ULONG * pOutLen,
5423 BYTE * pOut )
5424 {
5425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5426 if (pAPI == 0)
5427 {
5428 return (ULONG)eGOBI_ERR_INTERNAL;
5429 }
5430
5431 ULONG svcID = 3;
5432 ULONG msgID = 37;
5433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5434 }
5435
5436 /*===========================================================================
5437 METHOD:
5438 NASGetPreferredNetworks
5439
5440 DESCRIPTION:
5441 The function sends 'NAS/Get Preferred Networks Request' (0x0026)
5442 and returns the response
5443
5444 PARAMETERS:
5445 handle [ I ] - Gobi interface handle
5446 to [ I ] - Timeout for transaction (in milliseconds)
5447 inLen [ I ] - Reserved for future use (set to 0)
5448 pIn [ I ] - Reserved for future use (set to 0)
5449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5450 contain, upon output the number of BYTEs copied
5451 to pOut
5452 pOut [ O ] - Output buffer
5453
5454 RETURN VALUE:
5455 ULONG - Return code
5456 ===========================================================================*/
5457 ULONG NASGetPreferredNetworks(
5458 GOBIHANDLE handle,
5459 ULONG to,
5460 ULONG inLen,
5461 const BYTE * pIn,
5462 ULONG * pOutLen,
5463 BYTE * pOut )
5464 {
5465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5466 if (pAPI == 0)
5467 {
5468 return (ULONG)eGOBI_ERR_INTERNAL;
5469 }
5470
5471 ULONG svcID = 3;
5472 ULONG msgID = 38;
5473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5474 }
5475
5476 /*===========================================================================
5477 METHOD:
5478 NASSetPreferredNetworks
5479
5480 DESCRIPTION:
5481 The function sends 'NAS/Set Preferred Networks Request' (0x0027)
5482 and returns the response
5483
5484 PARAMETERS:
5485 handle [ I ] - Gobi interface handle
5486 to [ I ] - Timeout for transaction (in milliseconds)
5487 inLen [ I ] - Length of input buffer
5488 pIn [ I ] - Input buffer
5489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5490 contain, upon output the number of BYTEs copied
5491 to pOut
5492 pOut [ O ] - Output buffer
5493
5494 RETURN VALUE:
5495 ULONG - Return code
5496 ===========================================================================*/
5497 ULONG NASSetPreferredNetworks(
5498 GOBIHANDLE handle,
5499 ULONG to,
5500 ULONG inLen,
5501 const BYTE * pIn,
5502 ULONG * pOutLen,
5503 BYTE * pOut )
5504 {
5505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5506 if (pAPI == 0)
5507 {
5508 return (ULONG)eGOBI_ERR_INTERNAL;
5509 }
5510
5511 ULONG svcID = 3;
5512 ULONG msgID = 39;
5513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5514 }
5515
5516 /*===========================================================================
5517 METHOD:
5518 NASGetForbiddenNetworks
5519
5520 DESCRIPTION:
5521 The function sends 'NAS/Get Forbidden Networks Request' (0x0028)
5522 and returns the response
5523
5524 PARAMETERS:
5525 handle [ I ] - Gobi interface handle
5526 to [ I ] - Timeout for transaction (in milliseconds)
5527 inLen [ I ] - Reserved for future use (set to 0)
5528 pIn [ I ] - Reserved for future use (set to 0)
5529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5530 contain, upon output the number of BYTEs copied
5531 to pOut
5532 pOut [ O ] - Output buffer
5533
5534 RETURN VALUE:
5535 ULONG - Return code
5536 ===========================================================================*/
5537 ULONG NASGetForbiddenNetworks(
5538 GOBIHANDLE handle,
5539 ULONG to,
5540 ULONG inLen,
5541 const BYTE * pIn,
5542 ULONG * pOutLen,
5543 BYTE * pOut )
5544 {
5545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5546 if (pAPI == 0)
5547 {
5548 return (ULONG)eGOBI_ERR_INTERNAL;
5549 }
5550
5551 ULONG svcID = 3;
5552 ULONG msgID = 40;
5553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5554 }
5555
5556 /*===========================================================================
5557 METHOD:
5558 NASSetForbiddenNetworks
5559
5560 DESCRIPTION:
5561 The function sends 'NAS/Set Forbidden Networks Request' (0x0029)
5562 and returns the response
5563
5564 PARAMETERS:
5565 handle [ I ] - Gobi interface handle
5566 to [ I ] - Timeout for transaction (in milliseconds)
5567 inLen [ I ] - Length of input buffer
5568 pIn [ I ] - Input buffer
5569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5570 contain, upon output the number of BYTEs copied
5571 to pOut
5572 pOut [ O ] - Output buffer
5573
5574 RETURN VALUE:
5575 ULONG - Return code
5576 ===========================================================================*/
5577 ULONG NASSetForbiddenNetworks(
5578 GOBIHANDLE handle,
5579 ULONG to,
5580 ULONG inLen,
5581 const BYTE * pIn,
5582 ULONG * pOutLen,
5583 BYTE * pOut )
5584 {
5585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5586 if (pAPI == 0)
5587 {
5588 return (ULONG)eGOBI_ERR_INTERNAL;
5589 }
5590
5591 ULONG svcID = 3;
5592 ULONG msgID = 41;
5593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5594 }
5595
5596 /*===========================================================================
5597 METHOD:
5598 NASSetTechnologyPreference
5599
5600 DESCRIPTION:
5601 The function sends 'NAS/Set Technology Preference Request' (0x002A)
5602 and returns the response
5603
5604 PARAMETERS:
5605 handle [ I ] - Gobi interface handle
5606 to [ I ] - Timeout for transaction (in milliseconds)
5607 inLen [ I ] - Length of input buffer
5608 pIn [ I ] - Input buffer
5609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5610 contain, upon output the number of BYTEs copied
5611 to pOut
5612 pOut [ O ] - Output buffer
5613
5614 RETURN VALUE:
5615 ULONG - Return code
5616 ===========================================================================*/
5617 ULONG NASSetTechnologyPreference(
5618 GOBIHANDLE handle,
5619 ULONG to,
5620 ULONG inLen,
5621 const BYTE * pIn,
5622 ULONG * pOutLen,
5623 BYTE * pOut )
5624 {
5625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5626 if (pAPI == 0)
5627 {
5628 return (ULONG)eGOBI_ERR_INTERNAL;
5629 }
5630
5631 ULONG svcID = 3;
5632 ULONG msgID = 42;
5633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5634 }
5635
5636 /*===========================================================================
5637 METHOD:
5638 NASGetTechnologyPreference
5639
5640 DESCRIPTION:
5641 The function sends 'NAS/Get Technology Preference Request' (0x002B)
5642 and returns the response
5643
5644 PARAMETERS:
5645 handle [ I ] - Gobi interface handle
5646 to [ I ] - Timeout for transaction (in milliseconds)
5647 inLen [ I ] - Reserved for future use (set to 0)
5648 pIn [ I ] - Reserved for future use (set to 0)
5649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5650 contain, upon output the number of BYTEs copied
5651 to pOut
5652 pOut [ O ] - Output buffer
5653
5654 RETURN VALUE:
5655 ULONG - Return code
5656 ===========================================================================*/
5657 ULONG NASGetTechnologyPreference(
5658 GOBIHANDLE handle,
5659 ULONG to,
5660 ULONG inLen,
5661 const BYTE * pIn,
5662 ULONG * pOutLen,
5663 BYTE * pOut )
5664 {
5665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5666 if (pAPI == 0)
5667 {
5668 return (ULONG)eGOBI_ERR_INTERNAL;
5669 }
5670
5671 ULONG svcID = 3;
5672 ULONG msgID = 43;
5673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5674 }
5675
5676 /*===========================================================================
5677 METHOD:
5678 NASGetACCOLC
5679
5680 DESCRIPTION:
5681 The function sends 'NAS/Get ACCOLC Request' (0x002C)
5682 and returns the response
5683
5684 PARAMETERS:
5685 handle [ I ] - Gobi interface handle
5686 to [ I ] - Timeout for transaction (in milliseconds)
5687 inLen [ I ] - Reserved for future use (set to 0)
5688 pIn [ I ] - Reserved for future use (set to 0)
5689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5690 contain, upon output the number of BYTEs copied
5691 to pOut
5692 pOut [ O ] - Output buffer
5693
5694 RETURN VALUE:
5695 ULONG - Return code
5696 ===========================================================================*/
5697 ULONG NASGetACCOLC(
5698 GOBIHANDLE handle,
5699 ULONG to,
5700 ULONG inLen,
5701 const BYTE * pIn,
5702 ULONG * pOutLen,
5703 BYTE * pOut )
5704 {
5705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5706 if (pAPI == 0)
5707 {
5708 return (ULONG)eGOBI_ERR_INTERNAL;
5709 }
5710
5711 ULONG svcID = 3;
5712 ULONG msgID = 44;
5713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5714 }
5715
5716 /*===========================================================================
5717 METHOD:
5718 NASSetACCOLC
5719
5720 DESCRIPTION:
5721 The function sends 'NAS/Set ACCOLC Request' (0x002D)
5722 and returns the response
5723
5724 PARAMETERS:
5725 handle [ I ] - Gobi interface handle
5726 to [ I ] - Timeout for transaction (in milliseconds)
5727 inLen [ I ] - Length of input buffer
5728 pIn [ I ] - Input buffer
5729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5730 contain, upon output the number of BYTEs copied
5731 to pOut
5732 pOut [ O ] - Output buffer
5733
5734 RETURN VALUE:
5735 ULONG - Return code
5736 ===========================================================================*/
5737 ULONG NASSetACCOLC(
5738 GOBIHANDLE handle,
5739 ULONG to,
5740 ULONG inLen,
5741 const BYTE * pIn,
5742 ULONG * pOutLen,
5743 BYTE * pOut )
5744 {
5745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5746 if (pAPI == 0)
5747 {
5748 return (ULONG)eGOBI_ERR_INTERNAL;
5749 }
5750
5751 ULONG svcID = 3;
5752 ULONG msgID = 45;
5753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5754 }
5755
5756 /*===========================================================================
5757 METHOD:
5758 NASGetSystemPreference
5759
5760 DESCRIPTION:
5761 The function sends 'NAS/Get System Preference' (0x002E)
5762 and returns the response
5763
5764 PARAMETERS:
5765 handle [ I ] - Gobi interface handle
5766 to [ I ] - Timeout for transaction (in milliseconds)
5767 inLen [ I ] - Reserved for future use (set to 0)
5768 pIn [ I ] - Reserved for future use (set to 0)
5769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5770 contain, upon output the number of BYTEs copied
5771 to pOut
5772 pOut [ O ] - Output buffer
5773
5774 RETURN VALUE:
5775 ULONG - Return code
5776 ===========================================================================*/
5777 ULONG NASGetSystemPreference(
5778 GOBIHANDLE handle,
5779 ULONG to,
5780 ULONG inLen,
5781 const BYTE * pIn,
5782 ULONG * pOutLen,
5783 BYTE * pOut )
5784 {
5785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5786 if (pAPI == 0)
5787 {
5788 return (ULONG)eGOBI_ERR_INTERNAL;
5789 }
5790
5791 ULONG svcID = 3;
5792 ULONG msgID = 46;
5793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5794 }
5795
5796 /*===========================================================================
5797 METHOD:
5798 NASGetNetworkParameters
5799
5800 DESCRIPTION:
5801 The function sends 'NAS/Get Network Parameters Request' (0x002F)
5802 and returns the response
5803
5804 PARAMETERS:
5805 handle [ I ] - Gobi interface handle
5806 to [ I ] - Timeout for transaction (in milliseconds)
5807 inLen [ I ] - Reserved for future use (set to 0)
5808 pIn [ I ] - Reserved for future use (set to 0)
5809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5810 contain, upon output the number of BYTEs copied
5811 to pOut
5812 pOut [ O ] - Output buffer
5813
5814 RETURN VALUE:
5815 ULONG - Return code
5816 ===========================================================================*/
5817 ULONG NASGetNetworkParameters(
5818 GOBIHANDLE handle,
5819 ULONG to,
5820 ULONG inLen,
5821 const BYTE * pIn,
5822 ULONG * pOutLen,
5823 BYTE * pOut )
5824 {
5825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5826 if (pAPI == 0)
5827 {
5828 return (ULONG)eGOBI_ERR_INTERNAL;
5829 }
5830
5831 ULONG svcID = 3;
5832 ULONG msgID = 47;
5833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5834 }
5835
5836 /*===========================================================================
5837 METHOD:
5838 NASSetNetworkParameters
5839
5840 DESCRIPTION:
5841 The function sends 'NAS/Set Network Parameters Request' (0x0030)
5842 and returns the response
5843
5844 PARAMETERS:
5845 handle [ I ] - Gobi interface handle
5846 to [ I ] - Timeout for transaction (in milliseconds)
5847 inLen [ I ] - Length of input buffer
5848 pIn [ I ] - Input buffer
5849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5850 contain, upon output the number of BYTEs copied
5851 to pOut
5852 pOut [ O ] - Output buffer
5853
5854 RETURN VALUE:
5855 ULONG - Return code
5856 ===========================================================================*/
5857 ULONG NASSetNetworkParameters(
5858 GOBIHANDLE handle,
5859 ULONG to,
5860 ULONG inLen,
5861 const BYTE * pIn,
5862 ULONG * pOutLen,
5863 BYTE * pOut )
5864 {
5865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5866 if (pAPI == 0)
5867 {
5868 return (ULONG)eGOBI_ERR_INTERNAL;
5869 }
5870
5871 ULONG svcID = 3;
5872 ULONG msgID = 48;
5873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5874 }
5875
5876 /*===========================================================================
5877 METHOD:
5878 NASGetRFInfo
5879
5880 DESCRIPTION:
5881 The function sends 'NAS/Get RF Info Request' (0x0031)
5882 and returns the response
5883
5884 PARAMETERS:
5885 handle [ I ] - Gobi interface handle
5886 to [ I ] - Timeout for transaction (in milliseconds)
5887 inLen [ I ] - Reserved for future use (set to 0)
5888 pIn [ I ] - Reserved for future use (set to 0)
5889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5890 contain, upon output the number of BYTEs copied
5891 to pOut
5892 pOut [ O ] - Output buffer
5893
5894 RETURN VALUE:
5895 ULONG - Return code
5896 ===========================================================================*/
5897 ULONG NASGetRFInfo(
5898 GOBIHANDLE handle,
5899 ULONG to,
5900 ULONG inLen,
5901 const BYTE * pIn,
5902 ULONG * pOutLen,
5903 BYTE * pOut )
5904 {
5905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5906 if (pAPI == 0)
5907 {
5908 return (ULONG)eGOBI_ERR_INTERNAL;
5909 }
5910
5911 ULONG svcID = 3;
5912 ULONG msgID = 49;
5913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5914 }
5915
5916 /*===========================================================================
5917 METHOD:
5918 NASGetANAAAAuthenticationStatus
5919
5920 DESCRIPTION:
5921 The function sends 'NAS/Get AN-AAA Authentication Status Request' (0x0032)
5922 and returns the response
5923
5924 PARAMETERS:
5925 handle [ I ] - Gobi interface handle
5926 to [ I ] - Timeout for transaction (in milliseconds)
5927 inLen [ I ] - Reserved for future use (set to 0)
5928 pIn [ I ] - Reserved for future use (set to 0)
5929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5930 contain, upon output the number of BYTEs copied
5931 to pOut
5932 pOut [ O ] - Output buffer
5933
5934 RETURN VALUE:
5935 ULONG - Return code
5936 ===========================================================================*/
5937 ULONG NASGetANAAAAuthenticationStatus(
5938 GOBIHANDLE handle,
5939 ULONG to,
5940 ULONG inLen,
5941 const BYTE * pIn,
5942 ULONG * pOutLen,
5943 BYTE * pOut )
5944 {
5945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5946 if (pAPI == 0)
5947 {
5948 return (ULONG)eGOBI_ERR_INTERNAL;
5949 }
5950
5951 ULONG svcID = 3;
5952 ULONG msgID = 50;
5953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5954 }
5955
5956 /*===========================================================================
5957 METHOD:
5958 NASSetSystemSelectionPref
5959
5960 DESCRIPTION:
5961 The function sends 'NAS/Set System Selection Pref Request' (0x0033)
5962 and returns the response
5963
5964 PARAMETERS:
5965 handle [ I ] - Gobi interface handle
5966 to [ I ] - Timeout for transaction (in milliseconds)
5967 inLen [ I ] - Length of input buffer
5968 pIn [ I ] - Input buffer
5969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
5970 contain, upon output the number of BYTEs copied
5971 to pOut
5972 pOut [ O ] - Output buffer
5973
5974 RETURN VALUE:
5975 ULONG - Return code
5976 ===========================================================================*/
5977 ULONG NASSetSystemSelectionPref(
5978 GOBIHANDLE handle,
5979 ULONG to,
5980 ULONG inLen,
5981 const BYTE * pIn,
5982 ULONG * pOutLen,
5983 BYTE * pOut )
5984 {
5985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
5986 if (pAPI == 0)
5987 {
5988 return (ULONG)eGOBI_ERR_INTERNAL;
5989 }
5990
5991 ULONG svcID = 3;
5992 ULONG msgID = 51;
5993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
5994 }
5995
5996 /*===========================================================================
5997 METHOD:
5998 NASGetSystemSelectionPref
5999
6000 DESCRIPTION:
6001 The function sends 'NAS/Get System Selection Pref Request' (0x0034)
6002 and returns the response
6003
6004 PARAMETERS:
6005 handle [ I ] - Gobi interface handle
6006 to [ I ] - Timeout for transaction (in milliseconds)
6007 inLen [ I ] - Reserved for future use (set to 0)
6008 pIn [ I ] - Reserved for future use (set to 0)
6009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6010 contain, upon output the number of BYTEs copied
6011 to pOut
6012 pOut [ O ] - Output buffer
6013
6014 RETURN VALUE:
6015 ULONG - Return code
6016 ===========================================================================*/
6017 ULONG NASGetSystemSelectionPref(
6018 GOBIHANDLE handle,
6019 ULONG to,
6020 ULONG inLen,
6021 const BYTE * pIn,
6022 ULONG * pOutLen,
6023 BYTE * pOut )
6024 {
6025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6026 if (pAPI == 0)
6027 {
6028 return (ULONG)eGOBI_ERR_INTERNAL;
6029 }
6030
6031 ULONG svcID = 3;
6032 ULONG msgID = 52;
6033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6034 }
6035
6036 /*===========================================================================
6037 METHOD:
6038 NASSetDDTMPreference
6039
6040 DESCRIPTION:
6041 The function sends 'NAS/Set DDTM Preference Request' (0x0037)
6042 and returns the response
6043
6044 PARAMETERS:
6045 handle [ I ] - Gobi interface handle
6046 to [ I ] - Timeout for transaction (in milliseconds)
6047 inLen [ I ] - Length of input buffer
6048 pIn [ I ] - Input buffer
6049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6050 contain, upon output the number of BYTEs copied
6051 to pOut
6052 pOut [ O ] - Output buffer
6053
6054 RETURN VALUE:
6055 ULONG - Return code
6056 ===========================================================================*/
6057 ULONG NASSetDDTMPreference(
6058 GOBIHANDLE handle,
6059 ULONG to,
6060 ULONG inLen,
6061 const BYTE * pIn,
6062 ULONG * pOutLen,
6063 BYTE * pOut )
6064 {
6065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6066 if (pAPI == 0)
6067 {
6068 return (ULONG)eGOBI_ERR_INTERNAL;
6069 }
6070
6071 ULONG svcID = 3;
6072 ULONG msgID = 55;
6073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6074 }
6075
6076 /*===========================================================================
6077 METHOD:
6078 NASGetDDTMPreference
6079
6080 DESCRIPTION:
6081 The function sends 'NAS/Get DDTM Preference Request' (0x0038)
6082 and returns the response
6083
6084 PARAMETERS:
6085 handle [ I ] - Gobi interface handle
6086 to [ I ] - Timeout for transaction (in milliseconds)
6087 inLen [ I ] - Reserved for future use (set to 0)
6088 pIn [ I ] - Reserved for future use (set to 0)
6089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6090 contain, upon output the number of BYTEs copied
6091 to pOut
6092 pOut [ O ] - Output buffer
6093
6094 RETURN VALUE:
6095 ULONG - Return code
6096 ===========================================================================*/
6097 ULONG NASGetDDTMPreference(
6098 GOBIHANDLE handle,
6099 ULONG to,
6100 ULONG inLen,
6101 const BYTE * pIn,
6102 ULONG * pOutLen,
6103 BYTE * pOut )
6104 {
6105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6106 if (pAPI == 0)
6107 {
6108 return (ULONG)eGOBI_ERR_INTERNAL;
6109 }
6110
6111 ULONG svcID = 3;
6112 ULONG msgID = 56;
6113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6114 }
6115
6116 /*===========================================================================
6117 METHOD:
6118 NASGetOperatorNameData
6119
6120 DESCRIPTION:
6121 The function sends 'NAS/Get Operator Name Data Request' (0x0039)
6122 and returns the response
6123
6124 PARAMETERS:
6125 handle [ I ] - Gobi interface handle
6126 to [ I ] - Timeout for transaction (in milliseconds)
6127 inLen [ I ] - Reserved for future use (set to 0)
6128 pIn [ I ] - Reserved for future use (set to 0)
6129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6130 contain, upon output the number of BYTEs copied
6131 to pOut
6132 pOut [ O ] - Output buffer
6133
6134 RETURN VALUE:
6135 ULONG - Return code
6136 ===========================================================================*/
6137 ULONG NASGetOperatorNameData(
6138 GOBIHANDLE handle,
6139 ULONG to,
6140 ULONG inLen,
6141 const BYTE * pIn,
6142 ULONG * pOutLen,
6143 BYTE * pOut )
6144 {
6145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6146 if (pAPI == 0)
6147 {
6148 return (ULONG)eGOBI_ERR_INTERNAL;
6149 }
6150
6151 ULONG svcID = 3;
6152 ULONG msgID = 57;
6153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6154 }
6155
6156 /*===========================================================================
6157 METHOD:
6158 NASGetCSPPLMNMode
6159
6160 DESCRIPTION:
6161 The function sends 'NAS/Get CSP PLMN Mode Request' (0x003B)
6162 and returns the response
6163
6164 PARAMETERS:
6165 handle [ I ] - Gobi interface handle
6166 to [ I ] - Timeout for transaction (in milliseconds)
6167 inLen [ I ] - Reserved for future use (set to 0)
6168 pIn [ I ] - Reserved for future use (set to 0)
6169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6170 contain, upon output the number of BYTEs copied
6171 to pOut
6172 pOut [ O ] - Output buffer
6173
6174 RETURN VALUE:
6175 ULONG - Return code
6176 ===========================================================================*/
6177 ULONG NASGetCSPPLMNMode(
6178 GOBIHANDLE handle,
6179 ULONG to,
6180 ULONG inLen,
6181 const BYTE * pIn,
6182 ULONG * pOutLen,
6183 BYTE * pOut )
6184 {
6185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6186 if (pAPI == 0)
6187 {
6188 return (ULONG)eGOBI_ERR_INTERNAL;
6189 }
6190
6191 ULONG svcID = 3;
6192 ULONG msgID = 59;
6193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6194 }
6195
6196 /*===========================================================================
6197 METHOD:
6198 NASUpdateAKEY
6199
6200 DESCRIPTION:
6201 The function sends 'NAS/Update AKEY Request' (0x003D)
6202 and returns the response
6203
6204 PARAMETERS:
6205 handle [ I ] - Gobi interface handle
6206 to [ I ] - Timeout for transaction (in milliseconds)
6207 inLen [ I ] - Length of input buffer
6208 pIn [ I ] - Input buffer
6209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6210 contain, upon output the number of BYTEs copied
6211 to pOut
6212 pOut [ O ] - Output buffer
6213
6214 RETURN VALUE:
6215 ULONG - Return code
6216 ===========================================================================*/
6217 ULONG NASUpdateAKEY(
6218 GOBIHANDLE handle,
6219 ULONG to,
6220 ULONG inLen,
6221 const BYTE * pIn,
6222 ULONG * pOutLen,
6223 BYTE * pOut )
6224 {
6225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6226 if (pAPI == 0)
6227 {
6228 return (ULONG)eGOBI_ERR_INTERNAL;
6229 }
6230
6231 ULONG svcID = 3;
6232 ULONG msgID = 61;
6233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6234 }
6235
6236 /*===========================================================================
6237 METHOD:
6238 NASGet3GPP2SubscriptionInfo
6239
6240 DESCRIPTION:
6241 The function sends 'NAS/Get 3GPP2 Subscription Info Request' (0x003E)
6242 and returns the response
6243
6244 PARAMETERS:
6245 handle [ I ] - Gobi interface handle
6246 to [ I ] - Timeout for transaction (in milliseconds)
6247 inLen [ I ] - Length of input buffer
6248 pIn [ I ] - Input buffer
6249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6250 contain, upon output the number of BYTEs copied
6251 to pOut
6252 pOut [ O ] - Output buffer
6253
6254 RETURN VALUE:
6255 ULONG - Return code
6256 ===========================================================================*/
6257 ULONG NASGet3GPP2SubscriptionInfo(
6258 GOBIHANDLE handle,
6259 ULONG to,
6260 ULONG inLen,
6261 const BYTE * pIn,
6262 ULONG * pOutLen,
6263 BYTE * pOut )
6264 {
6265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6266 if (pAPI == 0)
6267 {
6268 return (ULONG)eGOBI_ERR_INTERNAL;
6269 }
6270
6271 ULONG svcID = 3;
6272 ULONG msgID = 62;
6273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6274 }
6275
6276 /*===========================================================================
6277 METHOD:
6278 NASSet3GPP2SubscriptionInfo
6279
6280 DESCRIPTION:
6281 The function sends 'NAS/Set 3GPP2 Subscription Info Request' (0x003F)
6282 and returns the response
6283
6284 PARAMETERS:
6285 handle [ I ] - Gobi interface handle
6286 to [ I ] - Timeout for transaction (in milliseconds)
6287 inLen [ I ] - Length of input buffer
6288 pIn [ I ] - Input buffer
6289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6290 contain, upon output the number of BYTEs copied
6291 to pOut
6292 pOut [ O ] - Output buffer
6293
6294 RETURN VALUE:
6295 ULONG - Return code
6296 ===========================================================================*/
6297 ULONG NASSet3GPP2SubscriptionInfo(
6298 GOBIHANDLE handle,
6299 ULONG to,
6300 ULONG inLen,
6301 const BYTE * pIn,
6302 ULONG * pOutLen,
6303 BYTE * pOut )
6304 {
6305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6306 if (pAPI == 0)
6307 {
6308 return (ULONG)eGOBI_ERR_INTERNAL;
6309 }
6310
6311 ULONG svcID = 3;
6312 ULONG msgID = 63;
6313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6314 }
6315
6316 /*===========================================================================
6317 METHOD:
6318 NASGetMobileCAIRevision
6319
6320 DESCRIPTION:
6321 The function sends 'NAS/Get Mobile CAI Revision Request' (0x0040)
6322 and returns the response
6323
6324 PARAMETERS:
6325 handle [ I ] - Gobi interface handle
6326 to [ I ] - Timeout for transaction (in milliseconds)
6327 inLen [ I ] - Reserved for future use (set to 0)
6328 pIn [ I ] - Reserved for future use (set to 0)
6329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6330 contain, upon output the number of BYTEs copied
6331 to pOut
6332 pOut [ O ] - Output buffer
6333
6334 RETURN VALUE:
6335 ULONG - Return code
6336 ===========================================================================*/
6337 ULONG NASGetMobileCAIRevision(
6338 GOBIHANDLE handle,
6339 ULONG to,
6340 ULONG inLen,
6341 const BYTE * pIn,
6342 ULONG * pOutLen,
6343 BYTE * pOut )
6344 {
6345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6346 if (pAPI == 0)
6347 {
6348 return (ULONG)eGOBI_ERR_INTERNAL;
6349 }
6350
6351 ULONG svcID = 3;
6352 ULONG msgID = 64;
6353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6354 }
6355
6356 /*===========================================================================
6357 METHOD:
6358 NASGetRTREConfig
6359
6360 DESCRIPTION:
6361 The function sends 'NAS/Get RTRE Config Request' (0x0041)
6362 and returns the response
6363
6364 PARAMETERS:
6365 handle [ I ] - Gobi interface handle
6366 to [ I ] - Timeout for transaction (in milliseconds)
6367 inLen [ I ] - Reserved for future use (set to 0)
6368 pIn [ I ] - Reserved for future use (set to 0)
6369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6370 contain, upon output the number of BYTEs copied
6371 to pOut
6372 pOut [ O ] - Output buffer
6373
6374 RETURN VALUE:
6375 ULONG - Return code
6376 ===========================================================================*/
6377 ULONG NASGetRTREConfig(
6378 GOBIHANDLE handle,
6379 ULONG to,
6380 ULONG inLen,
6381 const BYTE * pIn,
6382 ULONG * pOutLen,
6383 BYTE * pOut )
6384 {
6385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6386 if (pAPI == 0)
6387 {
6388 return (ULONG)eGOBI_ERR_INTERNAL;
6389 }
6390
6391 ULONG svcID = 3;
6392 ULONG msgID = 65;
6393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6394 }
6395
6396 /*===========================================================================
6397 METHOD:
6398 NASSetRTREConfig
6399
6400 DESCRIPTION:
6401 The function sends 'NAS/Set RTRE Config Request' (0x0042)
6402 and returns the response
6403
6404 PARAMETERS:
6405 handle [ I ] - Gobi interface handle
6406 to [ I ] - Timeout for transaction (in milliseconds)
6407 inLen [ I ] - Length of input buffer
6408 pIn [ I ] - Input buffer
6409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6410 contain, upon output the number of BYTEs copied
6411 to pOut
6412 pOut [ O ] - Output buffer
6413
6414 RETURN VALUE:
6415 ULONG - Return code
6416 ===========================================================================*/
6417 ULONG NASSetRTREConfig(
6418 GOBIHANDLE handle,
6419 ULONG to,
6420 ULONG inLen,
6421 const BYTE * pIn,
6422 ULONG * pOutLen,
6423 BYTE * pOut )
6424 {
6425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6426 if (pAPI == 0)
6427 {
6428 return (ULONG)eGOBI_ERR_INTERNAL;
6429 }
6430
6431 ULONG svcID = 3;
6432 ULONG msgID = 66;
6433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6434 }
6435
6436 /*===========================================================================
6437 METHOD:
6438 NASGetCellLocationInfo
6439
6440 DESCRIPTION:
6441 The function sends 'NAS/Get Cell Location Info Request' (0x0043)
6442 and returns the response
6443
6444 PARAMETERS:
6445 handle [ I ] - Gobi interface handle
6446 to [ I ] - Timeout for transaction (in milliseconds)
6447 inLen [ I ] - Reserved for future use (set to 0)
6448 pIn [ I ] - Reserved for future use (set to 0)
6449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6450 contain, upon output the number of BYTEs copied
6451 to pOut
6452 pOut [ O ] - Output buffer
6453
6454 RETURN VALUE:
6455 ULONG - Return code
6456 ===========================================================================*/
6457 ULONG NASGetCellLocationInfo(
6458 GOBIHANDLE handle,
6459 ULONG to,
6460 ULONG inLen,
6461 const BYTE * pIn,
6462 ULONG * pOutLen,
6463 BYTE * pOut )
6464 {
6465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6466 if (pAPI == 0)
6467 {
6468 return (ULONG)eGOBI_ERR_INTERNAL;
6469 }
6470
6471 ULONG svcID = 3;
6472 ULONG msgID = 67;
6473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6474 }
6475
6476 /*===========================================================================
6477 METHOD:
6478 NASGetPLMNName
6479
6480 DESCRIPTION:
6481 The function sends 'NAS/Get PLMN Name Request' (0x0044)
6482 and returns the response
6483
6484 PARAMETERS:
6485 handle [ I ] - Gobi interface handle
6486 to [ I ] - Timeout for transaction (in milliseconds)
6487 inLen [ I ] - Length of input buffer
6488 pIn [ I ] - Input buffer
6489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6490 contain, upon output the number of BYTEs copied
6491 to pOut
6492 pOut [ O ] - Output buffer
6493
6494 RETURN VALUE:
6495 ULONG - Return code
6496 ===========================================================================*/
6497 ULONG NASGetPLMNName(
6498 GOBIHANDLE handle,
6499 ULONG to,
6500 ULONG inLen,
6501 const BYTE * pIn,
6502 ULONG * pOutLen,
6503 BYTE * pOut )
6504 {
6505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6506 if (pAPI == 0)
6507 {
6508 return (ULONG)eGOBI_ERR_INTERNAL;
6509 }
6510
6511 ULONG svcID = 3;
6512 ULONG msgID = 68;
6513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6514 }
6515
6516 /*===========================================================================
6517 METHOD:
6518 NASBindSubscription
6519
6520 DESCRIPTION:
6521 The function sends 'NAS/Bind Subscription Request' (0x0045)
6522 and returns the response
6523
6524 PARAMETERS:
6525 handle [ I ] - Gobi interface handle
6526 to [ I ] - Timeout for transaction (in milliseconds)
6527 inLen [ I ] - Length of input buffer
6528 pIn [ I ] - Input buffer
6529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6530 contain, upon output the number of BYTEs copied
6531 to pOut
6532 pOut [ O ] - Output buffer
6533
6534 RETURN VALUE:
6535 ULONG - Return code
6536 ===========================================================================*/
6537 ULONG NASBindSubscription(
6538 GOBIHANDLE handle,
6539 ULONG to,
6540 ULONG inLen,
6541 const BYTE * pIn,
6542 ULONG * pOutLen,
6543 BYTE * pOut )
6544 {
6545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6546 if (pAPI == 0)
6547 {
6548 return (ULONG)eGOBI_ERR_INTERNAL;
6549 }
6550
6551 ULONG svcID = 3;
6552 ULONG msgID = 69;
6553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6554 }
6555
6556 /*===========================================================================
6557 METHOD:
6558 NASGetModePref
6559
6560 DESCRIPTION:
6561 The function sends 'NAS/Get Mode Pref Request' (0x0049)
6562 and returns the response
6563
6564 PARAMETERS:
6565 handle [ I ] - Gobi interface handle
6566 to [ I ] - Timeout for transaction (in milliseconds)
6567 inLen [ I ] - Reserved for future use (set to 0)
6568 pIn [ I ] - Reserved for future use (set to 0)
6569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6570 contain, upon output the number of BYTEs copied
6571 to pOut
6572 pOut [ O ] - Output buffer
6573
6574 RETURN VALUE:
6575 ULONG - Return code
6576 ===========================================================================*/
6577 ULONG NASGetModePref(
6578 GOBIHANDLE handle,
6579 ULONG to,
6580 ULONG inLen,
6581 const BYTE * pIn,
6582 ULONG * pOutLen,
6583 BYTE * pOut )
6584 {
6585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6586 if (pAPI == 0)
6587 {
6588 return (ULONG)eGOBI_ERR_INTERNAL;
6589 }
6590
6591 ULONG svcID = 3;
6592 ULONG msgID = 73;
6593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6594 }
6595
6596 /*===========================================================================
6597 METHOD:
6598 NASSetDualStandbyPreference
6599
6600 DESCRIPTION:
6601 The function sends 'NAS/Set Dual Standby Preference Request' (0x004B)
6602 and returns the response
6603
6604 PARAMETERS:
6605 handle [ I ] - Gobi interface handle
6606 to [ I ] - Timeout for transaction (in milliseconds)
6607 inLen [ I ] - Length of input buffer
6608 pIn [ I ] - Input buffer
6609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6610 contain, upon output the number of BYTEs copied
6611 to pOut
6612 pOut [ O ] - Output buffer
6613
6614 RETURN VALUE:
6615 ULONG - Return code
6616 ===========================================================================*/
6617 ULONG NASSetDualStandbyPreference(
6618 GOBIHANDLE handle,
6619 ULONG to,
6620 ULONG inLen,
6621 const BYTE * pIn,
6622 ULONG * pOutLen,
6623 BYTE * pOut )
6624 {
6625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6626 if (pAPI == 0)
6627 {
6628 return (ULONG)eGOBI_ERR_INTERNAL;
6629 }
6630
6631 ULONG svcID = 3;
6632 ULONG msgID = 75;
6633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6634 }
6635
6636 /*===========================================================================
6637 METHOD:
6638 NASGetSystemInfo
6639
6640 DESCRIPTION:
6641 The function sends 'NAS/Get System Info Request' (0x004D)
6642 and returns the response
6643
6644 PARAMETERS:
6645 handle [ I ] - Gobi interface handle
6646 to [ I ] - Timeout for transaction (in milliseconds)
6647 inLen [ I ] - Reserved for future use (set to 0)
6648 pIn [ I ] - Reserved for future use (set to 0)
6649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6650 contain, upon output the number of BYTEs copied
6651 to pOut
6652 pOut [ O ] - Output buffer
6653
6654 RETURN VALUE:
6655 ULONG - Return code
6656 ===========================================================================*/
6657 ULONG NASGetSystemInfo(
6658 GOBIHANDLE handle,
6659 ULONG to,
6660 ULONG inLen,
6661 const BYTE * pIn,
6662 ULONG * pOutLen,
6663 BYTE * pOut )
6664 {
6665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6666 if (pAPI == 0)
6667 {
6668 return (ULONG)eGOBI_ERR_INTERNAL;
6669 }
6670
6671 ULONG svcID = 3;
6672 ULONG msgID = 77;
6673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6674 }
6675
6676 /*===========================================================================
6677 METHOD:
6678 NASGetSignalInfo
6679
6680 DESCRIPTION:
6681 The function sends 'NAS/Get Signal Info Request' (0x004F)
6682 and returns the response
6683
6684 PARAMETERS:
6685 handle [ I ] - Gobi interface handle
6686 to [ I ] - Timeout for transaction (in milliseconds)
6687 inLen [ I ] - Reserved for future use (set to 0)
6688 pIn [ I ] - Reserved for future use (set to 0)
6689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6690 contain, upon output the number of BYTEs copied
6691 to pOut
6692 pOut [ O ] - Output buffer
6693
6694 RETURN VALUE:
6695 ULONG - Return code
6696 ===========================================================================*/
6697 ULONG NASGetSignalInfo(
6698 GOBIHANDLE handle,
6699 ULONG to,
6700 ULONG inLen,
6701 const BYTE * pIn,
6702 ULONG * pOutLen,
6703 BYTE * pOut )
6704 {
6705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6706 if (pAPI == 0)
6707 {
6708 return (ULONG)eGOBI_ERR_INTERNAL;
6709 }
6710
6711 ULONG svcID = 3;
6712 ULONG msgID = 79;
6713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6714 }
6715
6716 /*===========================================================================
6717 METHOD:
6718 NASConfigureSignalInfo
6719
6720 DESCRIPTION:
6721 The function sends 'NAS/Configure Signal Info Request' (0x0050)
6722 and returns the response
6723
6724 PARAMETERS:
6725 handle [ I ] - Gobi interface handle
6726 to [ I ] - Timeout for transaction (in milliseconds)
6727 inLen [ I ] - Length of input buffer
6728 pIn [ I ] - Input buffer
6729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6730 contain, upon output the number of BYTEs copied
6731 to pOut
6732 pOut [ O ] - Output buffer
6733
6734 RETURN VALUE:
6735 ULONG - Return code
6736 ===========================================================================*/
6737 ULONG NASConfigureSignalInfo(
6738 GOBIHANDLE handle,
6739 ULONG to,
6740 ULONG inLen,
6741 const BYTE * pIn,
6742 ULONG * pOutLen,
6743 BYTE * pOut )
6744 {
6745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6746 if (pAPI == 0)
6747 {
6748 return (ULONG)eGOBI_ERR_INTERNAL;
6749 }
6750
6751 ULONG svcID = 3;
6752 ULONG msgID = 80;
6753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6754 }
6755
6756 /*===========================================================================
6757 METHOD:
6758 NASGetErrorRate
6759
6760 DESCRIPTION:
6761 The function sends 'NAS/Get Error Rate Request' (0x0052)
6762 and returns the response
6763
6764 PARAMETERS:
6765 handle [ I ] - Gobi interface handle
6766 to [ I ] - Timeout for transaction (in milliseconds)
6767 inLen [ I ] - Reserved for future use (set to 0)
6768 pIn [ I ] - Reserved for future use (set to 0)
6769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6770 contain, upon output the number of BYTEs copied
6771 to pOut
6772 pOut [ O ] - Output buffer
6773
6774 RETURN VALUE:
6775 ULONG - Return code
6776 ===========================================================================*/
6777 ULONG NASGetErrorRate(
6778 GOBIHANDLE handle,
6779 ULONG to,
6780 ULONG inLen,
6781 const BYTE * pIn,
6782 ULONG * pOutLen,
6783 BYTE * pOut )
6784 {
6785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6786 if (pAPI == 0)
6787 {
6788 return (ULONG)eGOBI_ERR_INTERNAL;
6789 }
6790
6791 ULONG svcID = 3;
6792 ULONG msgID = 82;
6793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6794 }
6795
6796 /*===========================================================================
6797 METHOD:
6798 NASGetEVDOProtocolSubtype
6799
6800 DESCRIPTION:
6801 The function sends 'NAS/Get EV-DO Protocol Subtype Request' (0x0056)
6802 and returns the response
6803
6804 PARAMETERS:
6805 handle [ I ] - Gobi interface handle
6806 to [ I ] - Timeout for transaction (in milliseconds)
6807 inLen [ I ] - Length of input buffer
6808 pIn [ I ] - Input buffer
6809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6810 contain, upon output the number of BYTEs copied
6811 to pOut
6812 pOut [ O ] - Output buffer
6813
6814 RETURN VALUE:
6815 ULONG - Return code
6816 ===========================================================================*/
6817 ULONG NASGetEVDOProtocolSubtype(
6818 GOBIHANDLE handle,
6819 ULONG to,
6820 ULONG inLen,
6821 const BYTE * pIn,
6822 ULONG * pOutLen,
6823 BYTE * pOut )
6824 {
6825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6826 if (pAPI == 0)
6827 {
6828 return (ULONG)eGOBI_ERR_INTERNAL;
6829 }
6830
6831 ULONG svcID = 3;
6832 ULONG msgID = 86;
6833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6834 }
6835
6836 /*===========================================================================
6837 METHOD:
6838 NASGetEVDOColorCode
6839
6840 DESCRIPTION:
6841 The function sends 'NAS/Get EV-DO Color Code Request' (0x0057)
6842 and returns the response
6843
6844 PARAMETERS:
6845 handle [ I ] - Gobi interface handle
6846 to [ I ] - Timeout for transaction (in milliseconds)
6847 inLen [ I ] - Reserved for future use (set to 0)
6848 pIn [ I ] - Reserved for future use (set to 0)
6849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6850 contain, upon output the number of BYTEs copied
6851 to pOut
6852 pOut [ O ] - Output buffer
6853
6854 RETURN VALUE:
6855 ULONG - Return code
6856 ===========================================================================*/
6857 ULONG NASGetEVDOColorCode(
6858 GOBIHANDLE handle,
6859 ULONG to,
6860 ULONG inLen,
6861 const BYTE * pIn,
6862 ULONG * pOutLen,
6863 BYTE * pOut )
6864 {
6865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6866 if (pAPI == 0)
6867 {
6868 return (ULONG)eGOBI_ERR_INTERNAL;
6869 }
6870
6871 ULONG svcID = 3;
6872 ULONG msgID = 87;
6873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6874 }
6875
6876 /*===========================================================================
6877 METHOD:
6878 NASGetAcquisitionSystemMode
6879
6880 DESCRIPTION:
6881 The function sends 'NAS/Get Acquisition System Mode Request' (0x0058)
6882 and returns the response
6883
6884 PARAMETERS:
6885 handle [ I ] - Gobi interface handle
6886 to [ I ] - Timeout for transaction (in milliseconds)
6887 inLen [ I ] - Reserved for future use (set to 0)
6888 pIn [ I ] - Reserved for future use (set to 0)
6889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6890 contain, upon output the number of BYTEs copied
6891 to pOut
6892 pOut [ O ] - Output buffer
6893
6894 RETURN VALUE:
6895 ULONG - Return code
6896 ===========================================================================*/
6897 ULONG NASGetAcquisitionSystemMode(
6898 GOBIHANDLE handle,
6899 ULONG to,
6900 ULONG inLen,
6901 const BYTE * pIn,
6902 ULONG * pOutLen,
6903 BYTE * pOut )
6904 {
6905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6906 if (pAPI == 0)
6907 {
6908 return (ULONG)eGOBI_ERR_INTERNAL;
6909 }
6910
6911 ULONG svcID = 3;
6912 ULONG msgID = 88;
6913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6914 }
6915
6916 /*===========================================================================
6917 METHOD:
6918 NASSetRXDiversity
6919
6920 DESCRIPTION:
6921 The function sends 'NAS/Set RX Diversity Request' (0x0059)
6922 and returns the response
6923
6924 PARAMETERS:
6925 handle [ I ] - Gobi interface handle
6926 to [ I ] - Timeout for transaction (in milliseconds)
6927 inLen [ I ] - Length of input buffer
6928 pIn [ I ] - Input buffer
6929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6930 contain, upon output the number of BYTEs copied
6931 to pOut
6932 pOut [ O ] - Output buffer
6933
6934 RETURN VALUE:
6935 ULONG - Return code
6936 ===========================================================================*/
6937 ULONG NASSetRXDiversity(
6938 GOBIHANDLE handle,
6939 ULONG to,
6940 ULONG inLen,
6941 const BYTE * pIn,
6942 ULONG * pOutLen,
6943 BYTE * pOut )
6944 {
6945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6946 if (pAPI == 0)
6947 {
6948 return (ULONG)eGOBI_ERR_INTERNAL;
6949 }
6950
6951 ULONG svcID = 3;
6952 ULONG msgID = 89;
6953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6954 }
6955
6956 /*===========================================================================
6957 METHOD:
6958 NASGetRXTXInfo
6959
6960 DESCRIPTION:
6961 The function sends 'NAS/Get RX/TX Info Request' (0x005A)
6962 and returns the response
6963
6964 PARAMETERS:
6965 handle [ I ] - Gobi interface handle
6966 to [ I ] - Timeout for transaction (in milliseconds)
6967 inLen [ I ] - Reserved for future use (set to 0)
6968 pIn [ I ] - Reserved for future use (set to 0)
6969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
6970 contain, upon output the number of BYTEs copied
6971 to pOut
6972 pOut [ O ] - Output buffer
6973
6974 RETURN VALUE:
6975 ULONG - Return code
6976 ===========================================================================*/
6977 ULONG NASGetRXTXInfo(
6978 GOBIHANDLE handle,
6979 ULONG to,
6980 ULONG inLen,
6981 const BYTE * pIn,
6982 ULONG * pOutLen,
6983 BYTE * pOut )
6984 {
6985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
6986 if (pAPI == 0)
6987 {
6988 return (ULONG)eGOBI_ERR_INTERNAL;
6989 }
6990
6991 ULONG svcID = 3;
6992 ULONG msgID = 90;
6993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
6994 }
6995
6996 /*===========================================================================
6997 METHOD:
6998 NASUpdateAKEYExtended
6999
7000 DESCRIPTION:
7001 The function sends 'NAS/Update A-KEY Extended Request' (0x005B)
7002 and returns the response
7003
7004 PARAMETERS:
7005 handle [ I ] - Gobi interface handle
7006 to [ I ] - Timeout for transaction (in milliseconds)
7007 inLen [ I ] - Length of input buffer
7008 pIn [ I ] - Input buffer
7009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7010 contain, upon output the number of BYTEs copied
7011 to pOut
7012 pOut [ O ] - Output buffer
7013
7014 RETURN VALUE:
7015 ULONG - Return code
7016 ===========================================================================*/
7017 ULONG NASUpdateAKEYExtended(
7018 GOBIHANDLE handle,
7019 ULONG to,
7020 ULONG inLen,
7021 const BYTE * pIn,
7022 ULONG * pOutLen,
7023 BYTE * pOut )
7024 {
7025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7026 if (pAPI == 0)
7027 {
7028 return (ULONG)eGOBI_ERR_INTERNAL;
7029 }
7030
7031 ULONG svcID = 3;
7032 ULONG msgID = 91;
7033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7034 }
7035
7036 /*===========================================================================
7037 METHOD:
7038 NASGetDualStandbyPreference
7039
7040 DESCRIPTION:
7041 The function sends 'NAS/Get Dual Standby Preference Request' (0x005C)
7042 and returns the response
7043
7044 PARAMETERS:
7045 handle [ I ] - Gobi interface handle
7046 to [ I ] - Timeout for transaction (in milliseconds)
7047 inLen [ I ] - Reserved for future use (set to 0)
7048 pIn [ I ] - Reserved for future use (set to 0)
7049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7050 contain, upon output the number of BYTEs copied
7051 to pOut
7052 pOut [ O ] - Output buffer
7053
7054 RETURN VALUE:
7055 ULONG - Return code
7056 ===========================================================================*/
7057 ULONG NASGetDualStandbyPreference(
7058 GOBIHANDLE handle,
7059 ULONG to,
7060 ULONG inLen,
7061 const BYTE * pIn,
7062 ULONG * pOutLen,
7063 BYTE * pOut )
7064 {
7065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7066 if (pAPI == 0)
7067 {
7068 return (ULONG)eGOBI_ERR_INTERNAL;
7069 }
7070
7071 ULONG svcID = 3;
7072 ULONG msgID = 92;
7073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7074 }
7075
7076 /*===========================================================================
7077 METHOD:
7078 NASDetachLTE
7079
7080 DESCRIPTION:
7081 The function sends 'NAS/Detach LTE Request' (0x005D)
7082 and returns the response
7083
7084 PARAMETERS:
7085 handle [ I ] - Gobi interface handle
7086 to [ I ] - Timeout for transaction (in milliseconds)
7087 inLen [ I ] - Reserved for future use (set to 0)
7088 pIn [ I ] - Reserved for future use (set to 0)
7089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7090 contain, upon output the number of BYTEs copied
7091 to pOut
7092 pOut [ O ] - Output buffer
7093
7094 RETURN VALUE:
7095 ULONG - Return code
7096 ===========================================================================*/
7097 ULONG NASDetachLTE(
7098 GOBIHANDLE handle,
7099 ULONG to,
7100 ULONG inLen,
7101 const BYTE * pIn,
7102 ULONG * pOutLen,
7103 BYTE * pOut )
7104 {
7105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7106 if (pAPI == 0)
7107 {
7108 return (ULONG)eGOBI_ERR_INTERNAL;
7109 }
7110
7111 ULONG svcID = 3;
7112 ULONG msgID = 93;
7113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7114 }
7115
7116 /*===========================================================================
7117 METHOD:
7118 NASBlockLTEPLMN
7119
7120 DESCRIPTION:
7121 The function sends 'NAS/Block LTE PLMN Request' (0x005E)
7122 and returns the response
7123
7124 PARAMETERS:
7125 handle [ I ] - Gobi interface handle
7126 to [ I ] - Timeout for transaction (in milliseconds)
7127 inLen [ I ] - Length of input buffer
7128 pIn [ I ] - Input buffer
7129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7130 contain, upon output the number of BYTEs copied
7131 to pOut
7132 pOut [ O ] - Output buffer
7133
7134 RETURN VALUE:
7135 ULONG - Return code
7136 ===========================================================================*/
7137 ULONG NASBlockLTEPLMN(
7138 GOBIHANDLE handle,
7139 ULONG to,
7140 ULONG inLen,
7141 const BYTE * pIn,
7142 ULONG * pOutLen,
7143 BYTE * pOut )
7144 {
7145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7146 if (pAPI == 0)
7147 {
7148 return (ULONG)eGOBI_ERR_INTERNAL;
7149 }
7150
7151 ULONG svcID = 3;
7152 ULONG msgID = 94;
7153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7154 }
7155
7156 /*===========================================================================
7157 METHOD:
7158 NASUnblockLTEPLMN
7159
7160 DESCRIPTION:
7161 The function sends 'NAS/Unblock LTE PLMN Request' (0x005F)
7162 and returns the response
7163
7164 PARAMETERS:
7165 handle [ I ] - Gobi interface handle
7166 to [ I ] - Timeout for transaction (in milliseconds)
7167 inLen [ I ] - Length of input buffer
7168 pIn [ I ] - Input buffer
7169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7170 contain, upon output the number of BYTEs copied
7171 to pOut
7172 pOut [ O ] - Output buffer
7173
7174 RETURN VALUE:
7175 ULONG - Return code
7176 ===========================================================================*/
7177 ULONG NASUnblockLTEPLMN(
7178 GOBIHANDLE handle,
7179 ULONG to,
7180 ULONG inLen,
7181 const BYTE * pIn,
7182 ULONG * pOutLen,
7183 BYTE * pOut )
7184 {
7185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7186 if (pAPI == 0)
7187 {
7188 return (ULONG)eGOBI_ERR_INTERNAL;
7189 }
7190
7191 ULONG svcID = 3;
7192 ULONG msgID = 95;
7193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7194 }
7195
7196 /*===========================================================================
7197 METHOD:
7198 NASResetLTEPLMNBlock
7199
7200 DESCRIPTION:
7201 The function sends 'NAS/Reset LTE PLMN Block Request' (0x0060)
7202 and returns the response
7203
7204 PARAMETERS:
7205 handle [ I ] - Gobi interface handle
7206 to [ I ] - Timeout for transaction (in milliseconds)
7207 inLen [ I ] - Reserved for future use (set to 0)
7208 pIn [ I ] - Reserved for future use (set to 0)
7209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7210 contain, upon output the number of BYTEs copied
7211 to pOut
7212 pOut [ O ] - Output buffer
7213
7214 RETURN VALUE:
7215 ULONG - Return code
7216 ===========================================================================*/
7217 ULONG NASResetLTEPLMNBlock(
7218 GOBIHANDLE handle,
7219 ULONG to,
7220 ULONG inLen,
7221 const BYTE * pIn,
7222 ULONG * pOutLen,
7223 BYTE * pOut )
7224 {
7225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7226 if (pAPI == 0)
7227 {
7228 return (ULONG)eGOBI_ERR_INTERNAL;
7229 }
7230
7231 ULONG svcID = 3;
7232 ULONG msgID = 96;
7233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7234 }
7235
7236 /*===========================================================================
7237 METHOD:
7238 NASConfigureEMBMS
7239
7240 DESCRIPTION:
7241 The function sends 'NAS/Configure EMBMS Request' (0x0062)
7242 and returns the response
7243
7244 PARAMETERS:
7245 handle [ I ] - Gobi interface handle
7246 to [ I ] - Timeout for transaction (in milliseconds)
7247 inLen [ I ] - Length of input buffer
7248 pIn [ I ] - Input buffer
7249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7250 contain, upon output the number of BYTEs copied
7251 to pOut
7252 pOut [ O ] - Output buffer
7253
7254 RETURN VALUE:
7255 ULONG - Return code
7256 ===========================================================================*/
7257 ULONG NASConfigureEMBMS(
7258 GOBIHANDLE handle,
7259 ULONG to,
7260 ULONG inLen,
7261 const BYTE * pIn,
7262 ULONG * pOutLen,
7263 BYTE * pOut )
7264 {
7265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7266 if (pAPI == 0)
7267 {
7268 return (ULONG)eGOBI_ERR_INTERNAL;
7269 }
7270
7271 ULONG svcID = 3;
7272 ULONG msgID = 98;
7273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7274 }
7275
7276 /*===========================================================================
7277 METHOD:
7278 NASGetEMBMSStatus
7279
7280 DESCRIPTION:
7281 The function sends 'NAS/Get EMBMS Status Request' (0x0063)
7282 and returns the response
7283
7284 PARAMETERS:
7285 handle [ I ] - Gobi interface handle
7286 to [ I ] - Timeout for transaction (in milliseconds)
7287 inLen [ I ] - Reserved for future use (set to 0)
7288 pIn [ I ] - Reserved for future use (set to 0)
7289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7290 contain, upon output the number of BYTEs copied
7291 to pOut
7292 pOut [ O ] - Output buffer
7293
7294 RETURN VALUE:
7295 ULONG - Return code
7296 ===========================================================================*/
7297 ULONG NASGetEMBMSStatus(
7298 GOBIHANDLE handle,
7299 ULONG to,
7300 ULONG inLen,
7301 const BYTE * pIn,
7302 ULONG * pOutLen,
7303 BYTE * pOut )
7304 {
7305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7306 if (pAPI == 0)
7307 {
7308 return (ULONG)eGOBI_ERR_INTERNAL;
7309 }
7310
7311 ULONG svcID = 3;
7312 ULONG msgID = 99;
7313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7314 }
7315
7316 /*===========================================================================
7317 METHOD:
7318 NASGetCDMAPositionInfo
7319
7320 DESCRIPTION:
7321 The function sends 'NAS/Get CDMA Position Info Request' (0x0065)
7322 and returns the response
7323
7324 PARAMETERS:
7325 handle [ I ] - Gobi interface handle
7326 to [ I ] - Timeout for transaction (in milliseconds)
7327 inLen [ I ] - Reserved for future use (set to 0)
7328 pIn [ I ] - Reserved for future use (set to 0)
7329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7330 contain, upon output the number of BYTEs copied
7331 to pOut
7332 pOut [ O ] - Output buffer
7333
7334 RETURN VALUE:
7335 ULONG - Return code
7336 ===========================================================================*/
7337 ULONG NASGetCDMAPositionInfo(
7338 GOBIHANDLE handle,
7339 ULONG to,
7340 ULONG inLen,
7341 const BYTE * pIn,
7342 ULONG * pOutLen,
7343 BYTE * pOut )
7344 {
7345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7346 if (pAPI == 0)
7347 {
7348 return (ULONG)eGOBI_ERR_INTERNAL;
7349 }
7350
7351 ULONG svcID = 3;
7352 ULONG msgID = 101;
7353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7354 }
7355
7356 /*===========================================================================
7357 METHOD:
7358 NASForceNetworkSearch
7359
7360 DESCRIPTION:
7361 The function sends 'NAS/Force Network Search Request' (0x0067)
7362 and returns the response
7363
7364 PARAMETERS:
7365 handle [ I ] - Gobi interface handle
7366 to [ I ] - Timeout for transaction (in milliseconds)
7367 inLen [ I ] - Reserved for future use (set to 0)
7368 pIn [ I ] - Reserved for future use (set to 0)
7369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7370 contain, upon output the number of BYTEs copied
7371 to pOut
7372 pOut [ O ] - Output buffer
7373
7374 RETURN VALUE:
7375 ULONG - Return code
7376 ===========================================================================*/
7377 ULONG NASForceNetworkSearch(
7378 GOBIHANDLE handle,
7379 ULONG to,
7380 ULONG inLen,
7381 const BYTE * pIn,
7382 ULONG * pOutLen,
7383 BYTE * pOut )
7384 {
7385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7386 if (pAPI == 0)
7387 {
7388 return (ULONG)eGOBI_ERR_INTERNAL;
7389 }
7390
7391 ULONG svcID = 3;
7392 ULONG msgID = 103;
7393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7394 }
7395
7396 /*===========================================================================
7397 METHOD:
7398 NASGetManagedRoamingConfig
7399
7400 DESCRIPTION:
7401 The function sends 'NAS/Get Managed Roaming Config Request' (0x0069)
7402 and returns the response
7403
7404 PARAMETERS:
7405 handle [ I ] - Gobi interface handle
7406 to [ I ] - Timeout for transaction (in milliseconds)
7407 inLen [ I ] - Reserved for future use (set to 0)
7408 pIn [ I ] - Reserved for future use (set to 0)
7409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7410 contain, upon output the number of BYTEs copied
7411 to pOut
7412 pOut [ O ] - Output buffer
7413
7414 RETURN VALUE:
7415 ULONG - Return code
7416 ===========================================================================*/
7417 ULONG NASGetManagedRoamingConfig(
7418 GOBIHANDLE handle,
7419 ULONG to,
7420 ULONG inLen,
7421 const BYTE * pIn,
7422 ULONG * pOutLen,
7423 BYTE * pOut )
7424 {
7425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7426 if (pAPI == 0)
7427 {
7428 return (ULONG)eGOBI_ERR_INTERNAL;
7429 }
7430
7431 ULONG svcID = 3;
7432 ULONG msgID = 105;
7433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7434 }
7435
7436 /*===========================================================================
7437 METHOD:
7438 NASGetCentralizedEONSSupport
7439
7440 DESCRIPTION:
7441 The function sends 'NAS/Get Centralized EONS Support Request' (0x006B)
7442 and returns the response
7443
7444 PARAMETERS:
7445 handle [ I ] - Gobi interface handle
7446 to [ I ] - Timeout for transaction (in milliseconds)
7447 inLen [ I ] - Reserved for future use (set to 0)
7448 pIn [ I ] - Reserved for future use (set to 0)
7449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7450 contain, upon output the number of BYTEs copied
7451 to pOut
7452 pOut [ O ] - Output buffer
7453
7454 RETURN VALUE:
7455 ULONG - Return code
7456 ===========================================================================*/
7457 ULONG NASGetCentralizedEONSSupport(
7458 GOBIHANDLE handle,
7459 ULONG to,
7460 ULONG inLen,
7461 const BYTE * pIn,
7462 ULONG * pOutLen,
7463 BYTE * pOut )
7464 {
7465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7466 if (pAPI == 0)
7467 {
7468 return (ULONG)eGOBI_ERR_INTERNAL;
7469 }
7470
7471 ULONG svcID = 3;
7472 ULONG msgID = 107;
7473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7474 }
7475
7476 /*===========================================================================
7477 METHOD:
7478 WMSReset
7479
7480 DESCRIPTION:
7481 The function sends 'WMS/Reset Request' (0x0000)
7482 and returns the response
7483
7484 PARAMETERS:
7485 handle [ I ] - Gobi interface handle
7486 to [ I ] - Timeout for transaction (in milliseconds)
7487 inLen [ I ] - Reserved for future use (set to 0)
7488 pIn [ I ] - Reserved for future use (set to 0)
7489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7490 contain, upon output the number of BYTEs copied
7491 to pOut
7492 pOut [ O ] - Output buffer
7493
7494 RETURN VALUE:
7495 ULONG - Return code
7496 ===========================================================================*/
7497 ULONG WMSReset(
7498 GOBIHANDLE handle,
7499 ULONG to,
7500 ULONG inLen,
7501 const BYTE * pIn,
7502 ULONG * pOutLen,
7503 BYTE * pOut )
7504 {
7505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7506 if (pAPI == 0)
7507 {
7508 return (ULONG)eGOBI_ERR_INTERNAL;
7509 }
7510
7511 ULONG svcID = 5;
7512 ULONG msgID = 0;
7513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7514 }
7515
7516 /*===========================================================================
7517 METHOD:
7518 WMSSetEventReport
7519
7520 DESCRIPTION:
7521 The function sends 'WMS/Set Event Report Request' (0x0001)
7522 and returns the response
7523
7524 PARAMETERS:
7525 handle [ I ] - Gobi interface handle
7526 to [ I ] - Timeout for transaction (in milliseconds)
7527 inLen [ I ] - Length of input buffer
7528 pIn [ I ] - Input buffer
7529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7530 contain, upon output the number of BYTEs copied
7531 to pOut
7532 pOut [ O ] - Output buffer
7533
7534 RETURN VALUE:
7535 ULONG - Return code
7536 ===========================================================================*/
7537 ULONG WMSSetEventReport(
7538 GOBIHANDLE handle,
7539 ULONG to,
7540 ULONG inLen,
7541 const BYTE * pIn,
7542 ULONG * pOutLen,
7543 BYTE * pOut )
7544 {
7545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7546 if (pAPI == 0)
7547 {
7548 return (ULONG)eGOBI_ERR_INTERNAL;
7549 }
7550
7551 ULONG svcID = 5;
7552 ULONG msgID = 1;
7553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7554 }
7555
7556 /*===========================================================================
7557 METHOD:
7558 WMSRawSend
7559
7560 DESCRIPTION:
7561 The function sends 'WMS/Raw Send Request' (0x0020)
7562 and returns the response
7563
7564 PARAMETERS:
7565 handle [ I ] - Gobi interface handle
7566 to [ I ] - Timeout for transaction (in milliseconds)
7567 inLen [ I ] - Length of input buffer
7568 pIn [ I ] - Input buffer
7569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7570 contain, upon output the number of BYTEs copied
7571 to pOut
7572 pOut [ O ] - Output buffer
7573
7574 RETURN VALUE:
7575 ULONG - Return code
7576 ===========================================================================*/
7577 ULONG WMSRawSend(
7578 GOBIHANDLE handle,
7579 ULONG to,
7580 ULONG inLen,
7581 const BYTE * pIn,
7582 ULONG * pOutLen,
7583 BYTE * pOut )
7584 {
7585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7586 if (pAPI == 0)
7587 {
7588 return (ULONG)eGOBI_ERR_INTERNAL;
7589 }
7590
7591 ULONG svcID = 5;
7592 ULONG msgID = 32;
7593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7594 }
7595
7596 /*===========================================================================
7597 METHOD:
7598 WMSRawWrite
7599
7600 DESCRIPTION:
7601 The function sends 'WMS/Raw Write Request' (0x0021)
7602 and returns the response
7603
7604 PARAMETERS:
7605 handle [ I ] - Gobi interface handle
7606 to [ I ] - Timeout for transaction (in milliseconds)
7607 inLen [ I ] - Length of input buffer
7608 pIn [ I ] - Input buffer
7609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7610 contain, upon output the number of BYTEs copied
7611 to pOut
7612 pOut [ O ] - Output buffer
7613
7614 RETURN VALUE:
7615 ULONG - Return code
7616 ===========================================================================*/
7617 ULONG WMSRawWrite(
7618 GOBIHANDLE handle,
7619 ULONG to,
7620 ULONG inLen,
7621 const BYTE * pIn,
7622 ULONG * pOutLen,
7623 BYTE * pOut )
7624 {
7625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7626 if (pAPI == 0)
7627 {
7628 return (ULONG)eGOBI_ERR_INTERNAL;
7629 }
7630
7631 ULONG svcID = 5;
7632 ULONG msgID = 33;
7633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7634 }
7635
7636 /*===========================================================================
7637 METHOD:
7638 WMSRawRead
7639
7640 DESCRIPTION:
7641 The function sends 'WMS/Raw Read Request' (0x0022)
7642 and returns the response
7643
7644 PARAMETERS:
7645 handle [ I ] - Gobi interface handle
7646 to [ I ] - Timeout for transaction (in milliseconds)
7647 inLen [ I ] - Length of input buffer
7648 pIn [ I ] - Input buffer
7649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7650 contain, upon output the number of BYTEs copied
7651 to pOut
7652 pOut [ O ] - Output buffer
7653
7654 RETURN VALUE:
7655 ULONG - Return code
7656 ===========================================================================*/
7657 ULONG WMSRawRead(
7658 GOBIHANDLE handle,
7659 ULONG to,
7660 ULONG inLen,
7661 const BYTE * pIn,
7662 ULONG * pOutLen,
7663 BYTE * pOut )
7664 {
7665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7666 if (pAPI == 0)
7667 {
7668 return (ULONG)eGOBI_ERR_INTERNAL;
7669 }
7670
7671 ULONG svcID = 5;
7672 ULONG msgID = 34;
7673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7674 }
7675
7676 /*===========================================================================
7677 METHOD:
7678 WMSModifyTag
7679
7680 DESCRIPTION:
7681 The function sends 'WMS/Modify Tag Request' (0x0023)
7682 and returns the response
7683
7684 PARAMETERS:
7685 handle [ I ] - Gobi interface handle
7686 to [ I ] - Timeout for transaction (in milliseconds)
7687 inLen [ I ] - Length of input buffer
7688 pIn [ I ] - Input buffer
7689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7690 contain, upon output the number of BYTEs copied
7691 to pOut
7692 pOut [ O ] - Output buffer
7693
7694 RETURN VALUE:
7695 ULONG - Return code
7696 ===========================================================================*/
7697 ULONG WMSModifyTag(
7698 GOBIHANDLE handle,
7699 ULONG to,
7700 ULONG inLen,
7701 const BYTE * pIn,
7702 ULONG * pOutLen,
7703 BYTE * pOut )
7704 {
7705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7706 if (pAPI == 0)
7707 {
7708 return (ULONG)eGOBI_ERR_INTERNAL;
7709 }
7710
7711 ULONG svcID = 5;
7712 ULONG msgID = 35;
7713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7714 }
7715
7716 /*===========================================================================
7717 METHOD:
7718 WMSDelete
7719
7720 DESCRIPTION:
7721 The function sends 'WMS/Delete Request' (0x0024)
7722 and returns the response
7723
7724 PARAMETERS:
7725 handle [ I ] - Gobi interface handle
7726 to [ I ] - Timeout for transaction (in milliseconds)
7727 inLen [ I ] - Length of input buffer
7728 pIn [ I ] - Input buffer
7729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7730 contain, upon output the number of BYTEs copied
7731 to pOut
7732 pOut [ O ] - Output buffer
7733
7734 RETURN VALUE:
7735 ULONG - Return code
7736 ===========================================================================*/
7737 ULONG WMSDelete(
7738 GOBIHANDLE handle,
7739 ULONG to,
7740 ULONG inLen,
7741 const BYTE * pIn,
7742 ULONG * pOutLen,
7743 BYTE * pOut )
7744 {
7745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7746 if (pAPI == 0)
7747 {
7748 return (ULONG)eGOBI_ERR_INTERNAL;
7749 }
7750
7751 ULONG svcID = 5;
7752 ULONG msgID = 36;
7753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7754 }
7755
7756 /*===========================================================================
7757 METHOD:
7758 WMSGetMessageProtocol
7759
7760 DESCRIPTION:
7761 The function sends 'WMS/Get Message Protocol Request' (0x0030)
7762 and returns the response
7763
7764 PARAMETERS:
7765 handle [ I ] - Gobi interface handle
7766 to [ I ] - Timeout for transaction (in milliseconds)
7767 inLen [ I ] - Reserved for future use (set to 0)
7768 pIn [ I ] - Reserved for future use (set to 0)
7769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7770 contain, upon output the number of BYTEs copied
7771 to pOut
7772 pOut [ O ] - Output buffer
7773
7774 RETURN VALUE:
7775 ULONG - Return code
7776 ===========================================================================*/
7777 ULONG WMSGetMessageProtocol(
7778 GOBIHANDLE handle,
7779 ULONG to,
7780 ULONG inLen,
7781 const BYTE * pIn,
7782 ULONG * pOutLen,
7783 BYTE * pOut )
7784 {
7785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7786 if (pAPI == 0)
7787 {
7788 return (ULONG)eGOBI_ERR_INTERNAL;
7789 }
7790
7791 ULONG svcID = 5;
7792 ULONG msgID = 48;
7793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7794 }
7795
7796 /*===========================================================================
7797 METHOD:
7798 WMSListMessages
7799
7800 DESCRIPTION:
7801 The function sends 'WMS/List Messages Request' (0x0031)
7802 and returns the response
7803
7804 PARAMETERS:
7805 handle [ I ] - Gobi interface handle
7806 to [ I ] - Timeout for transaction (in milliseconds)
7807 inLen [ I ] - Length of input buffer
7808 pIn [ I ] - Input buffer
7809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7810 contain, upon output the number of BYTEs copied
7811 to pOut
7812 pOut [ O ] - Output buffer
7813
7814 RETURN VALUE:
7815 ULONG - Return code
7816 ===========================================================================*/
7817 ULONG WMSListMessages(
7818 GOBIHANDLE handle,
7819 ULONG to,
7820 ULONG inLen,
7821 const BYTE * pIn,
7822 ULONG * pOutLen,
7823 BYTE * pOut )
7824 {
7825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7826 if (pAPI == 0)
7827 {
7828 return (ULONG)eGOBI_ERR_INTERNAL;
7829 }
7830
7831 ULONG svcID = 5;
7832 ULONG msgID = 49;
7833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7834 }
7835
7836 /*===========================================================================
7837 METHOD:
7838 WMSSetRoutes
7839
7840 DESCRIPTION:
7841 The function sends 'WMS/Set Routes Request' (0x0032)
7842 and returns the response
7843
7844 PARAMETERS:
7845 handle [ I ] - Gobi interface handle
7846 to [ I ] - Timeout for transaction (in milliseconds)
7847 inLen [ I ] - Length of input buffer
7848 pIn [ I ] - Input buffer
7849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7850 contain, upon output the number of BYTEs copied
7851 to pOut
7852 pOut [ O ] - Output buffer
7853
7854 RETURN VALUE:
7855 ULONG - Return code
7856 ===========================================================================*/
7857 ULONG WMSSetRoutes(
7858 GOBIHANDLE handle,
7859 ULONG to,
7860 ULONG inLen,
7861 const BYTE * pIn,
7862 ULONG * pOutLen,
7863 BYTE * pOut )
7864 {
7865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7866 if (pAPI == 0)
7867 {
7868 return (ULONG)eGOBI_ERR_INTERNAL;
7869 }
7870
7871 ULONG svcID = 5;
7872 ULONG msgID = 50;
7873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7874 }
7875
7876 /*===========================================================================
7877 METHOD:
7878 WMSGetRoutes
7879
7880 DESCRIPTION:
7881 The function sends 'WMS/Get Routes Request' (0x0033)
7882 and returns the response
7883
7884 PARAMETERS:
7885 handle [ I ] - Gobi interface handle
7886 to [ I ] - Timeout for transaction (in milliseconds)
7887 inLen [ I ] - Reserved for future use (set to 0)
7888 pIn [ I ] - Reserved for future use (set to 0)
7889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7890 contain, upon output the number of BYTEs copied
7891 to pOut
7892 pOut [ O ] - Output buffer
7893
7894 RETURN VALUE:
7895 ULONG - Return code
7896 ===========================================================================*/
7897 ULONG WMSGetRoutes(
7898 GOBIHANDLE handle,
7899 ULONG to,
7900 ULONG inLen,
7901 const BYTE * pIn,
7902 ULONG * pOutLen,
7903 BYTE * pOut )
7904 {
7905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7906 if (pAPI == 0)
7907 {
7908 return (ULONG)eGOBI_ERR_INTERNAL;
7909 }
7910
7911 ULONG svcID = 5;
7912 ULONG msgID = 51;
7913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7914 }
7915
7916 /*===========================================================================
7917 METHOD:
7918 WMSGetSMSCAddress
7919
7920 DESCRIPTION:
7921 The function sends 'WMS/Get SMSC Address Request' (0x0034)
7922 and returns the response
7923
7924 PARAMETERS:
7925 handle [ I ] - Gobi interface handle
7926 to [ I ] - Timeout for transaction (in milliseconds)
7927 inLen [ I ] - Reserved for future use (set to 0)
7928 pIn [ I ] - Reserved for future use (set to 0)
7929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7930 contain, upon output the number of BYTEs copied
7931 to pOut
7932 pOut [ O ] - Output buffer
7933
7934 RETURN VALUE:
7935 ULONG - Return code
7936 ===========================================================================*/
7937 ULONG WMSGetSMSCAddress(
7938 GOBIHANDLE handle,
7939 ULONG to,
7940 ULONG inLen,
7941 const BYTE * pIn,
7942 ULONG * pOutLen,
7943 BYTE * pOut )
7944 {
7945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7946 if (pAPI == 0)
7947 {
7948 return (ULONG)eGOBI_ERR_INTERNAL;
7949 }
7950
7951 ULONG svcID = 5;
7952 ULONG msgID = 52;
7953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7954 }
7955
7956 /*===========================================================================
7957 METHOD:
7958 WMSSetSMSCAddress
7959
7960 DESCRIPTION:
7961 The function sends 'WMS/Set SMSC Address Request' (0x0035)
7962 and returns the response
7963
7964 PARAMETERS:
7965 handle [ I ] - Gobi interface handle
7966 to [ I ] - Timeout for transaction (in milliseconds)
7967 inLen [ I ] - Length of input buffer
7968 pIn [ I ] - Input buffer
7969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
7970 contain, upon output the number of BYTEs copied
7971 to pOut
7972 pOut [ O ] - Output buffer
7973
7974 RETURN VALUE:
7975 ULONG - Return code
7976 ===========================================================================*/
7977 ULONG WMSSetSMSCAddress(
7978 GOBIHANDLE handle,
7979 ULONG to,
7980 ULONG inLen,
7981 const BYTE * pIn,
7982 ULONG * pOutLen,
7983 BYTE * pOut )
7984 {
7985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
7986 if (pAPI == 0)
7987 {
7988 return (ULONG)eGOBI_ERR_INTERNAL;
7989 }
7990
7991 ULONG svcID = 5;
7992 ULONG msgID = 53;
7993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
7994 }
7995
7996 /*===========================================================================
7997 METHOD:
7998 WMSGetStorageMaxSize
7999
8000 DESCRIPTION:
8001 The function sends 'WMS/Get Storage Max Size Request' (0x0036)
8002 and returns the response
8003
8004 PARAMETERS:
8005 handle [ I ] - Gobi interface handle
8006 to [ I ] - Timeout for transaction (in milliseconds)
8007 inLen [ I ] - Length of input buffer
8008 pIn [ I ] - Input buffer
8009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8010 contain, upon output the number of BYTEs copied
8011 to pOut
8012 pOut [ O ] - Output buffer
8013
8014 RETURN VALUE:
8015 ULONG - Return code
8016 ===========================================================================*/
8017 ULONG WMSGetStorageMaxSize(
8018 GOBIHANDLE handle,
8019 ULONG to,
8020 ULONG inLen,
8021 const BYTE * pIn,
8022 ULONG * pOutLen,
8023 BYTE * pOut )
8024 {
8025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8026 if (pAPI == 0)
8027 {
8028 return (ULONG)eGOBI_ERR_INTERNAL;
8029 }
8030
8031 ULONG svcID = 5;
8032 ULONG msgID = 54;
8033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8034 }
8035
8036 /*===========================================================================
8037 METHOD:
8038 WMSSendACK
8039
8040 DESCRIPTION:
8041 The function sends 'WMS/Send ACK Request' (0x0037)
8042 and returns the response
8043
8044 PARAMETERS:
8045 handle [ I ] - Gobi interface handle
8046 to [ I ] - Timeout for transaction (in milliseconds)
8047 inLen [ I ] - Length of input buffer
8048 pIn [ I ] - Input buffer
8049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8050 contain, upon output the number of BYTEs copied
8051 to pOut
8052 pOut [ O ] - Output buffer
8053
8054 RETURN VALUE:
8055 ULONG - Return code
8056 ===========================================================================*/
8057 ULONG WMSSendACK(
8058 GOBIHANDLE handle,
8059 ULONG to,
8060 ULONG inLen,
8061 const BYTE * pIn,
8062 ULONG * pOutLen,
8063 BYTE * pOut )
8064 {
8065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8066 if (pAPI == 0)
8067 {
8068 return (ULONG)eGOBI_ERR_INTERNAL;
8069 }
8070
8071 ULONG svcID = 5;
8072 ULONG msgID = 55;
8073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8074 }
8075
8076 /*===========================================================================
8077 METHOD:
8078 WMSSetRetryPeriod
8079
8080 DESCRIPTION:
8081 The function sends 'WMS/Set Retry Period Request' (0x0038)
8082 and returns the response
8083
8084 PARAMETERS:
8085 handle [ I ] - Gobi interface handle
8086 to [ I ] - Timeout for transaction (in milliseconds)
8087 inLen [ I ] - Length of input buffer
8088 pIn [ I ] - Input buffer
8089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8090 contain, upon output the number of BYTEs copied
8091 to pOut
8092 pOut [ O ] - Output buffer
8093
8094 RETURN VALUE:
8095 ULONG - Return code
8096 ===========================================================================*/
8097 ULONG WMSSetRetryPeriod(
8098 GOBIHANDLE handle,
8099 ULONG to,
8100 ULONG inLen,
8101 const BYTE * pIn,
8102 ULONG * pOutLen,
8103 BYTE * pOut )
8104 {
8105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8106 if (pAPI == 0)
8107 {
8108 return (ULONG)eGOBI_ERR_INTERNAL;
8109 }
8110
8111 ULONG svcID = 5;
8112 ULONG msgID = 56;
8113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8114 }
8115
8116 /*===========================================================================
8117 METHOD:
8118 WMSSetRetryInterval
8119
8120 DESCRIPTION:
8121 The function sends 'WMS/Set Retry Interval Request' (0x0039)
8122 and returns the response
8123
8124 PARAMETERS:
8125 handle [ I ] - Gobi interface handle
8126 to [ I ] - Timeout for transaction (in milliseconds)
8127 inLen [ I ] - Length of input buffer
8128 pIn [ I ] - Input buffer
8129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8130 contain, upon output the number of BYTEs copied
8131 to pOut
8132 pOut [ O ] - Output buffer
8133
8134 RETURN VALUE:
8135 ULONG - Return code
8136 ===========================================================================*/
8137 ULONG WMSSetRetryInterval(
8138 GOBIHANDLE handle,
8139 ULONG to,
8140 ULONG inLen,
8141 const BYTE * pIn,
8142 ULONG * pOutLen,
8143 BYTE * pOut )
8144 {
8145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8146 if (pAPI == 0)
8147 {
8148 return (ULONG)eGOBI_ERR_INTERNAL;
8149 }
8150
8151 ULONG svcID = 5;
8152 ULONG msgID = 57;
8153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8154 }
8155
8156 /*===========================================================================
8157 METHOD:
8158 WMSSetDCDisconnectTimer
8159
8160 DESCRIPTION:
8161 The function sends 'WMS/Set DC Disconnect Timer Request' (0x003A)
8162 and returns the response
8163
8164 PARAMETERS:
8165 handle [ I ] - Gobi interface handle
8166 to [ I ] - Timeout for transaction (in milliseconds)
8167 inLen [ I ] - Length of input buffer
8168 pIn [ I ] - Input buffer
8169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8170 contain, upon output the number of BYTEs copied
8171 to pOut
8172 pOut [ O ] - Output buffer
8173
8174 RETURN VALUE:
8175 ULONG - Return code
8176 ===========================================================================*/
8177 ULONG WMSSetDCDisconnectTimer(
8178 GOBIHANDLE handle,
8179 ULONG to,
8180 ULONG inLen,
8181 const BYTE * pIn,
8182 ULONG * pOutLen,
8183 BYTE * pOut )
8184 {
8185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8186 if (pAPI == 0)
8187 {
8188 return (ULONG)eGOBI_ERR_INTERNAL;
8189 }
8190
8191 ULONG svcID = 5;
8192 ULONG msgID = 58;
8193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8194 }
8195
8196 /*===========================================================================
8197 METHOD:
8198 WMSSetMemoryStatus
8199
8200 DESCRIPTION:
8201 The function sends 'WMS/Set Memory Status Request' (0x003B)
8202 and returns the response
8203
8204 PARAMETERS:
8205 handle [ I ] - Gobi interface handle
8206 to [ I ] - Timeout for transaction (in milliseconds)
8207 inLen [ I ] - Length of input buffer
8208 pIn [ I ] - Input buffer
8209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8210 contain, upon output the number of BYTEs copied
8211 to pOut
8212 pOut [ O ] - Output buffer
8213
8214 RETURN VALUE:
8215 ULONG - Return code
8216 ===========================================================================*/
8217 ULONG WMSSetMemoryStatus(
8218 GOBIHANDLE handle,
8219 ULONG to,
8220 ULONG inLen,
8221 const BYTE * pIn,
8222 ULONG * pOutLen,
8223 BYTE * pOut )
8224 {
8225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8226 if (pAPI == 0)
8227 {
8228 return (ULONG)eGOBI_ERR_INTERNAL;
8229 }
8230
8231 ULONG svcID = 5;
8232 ULONG msgID = 59;
8233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8234 }
8235
8236 /*===========================================================================
8237 METHOD:
8238 WMSSetBroadcastActivation
8239
8240 DESCRIPTION:
8241 The function sends 'WMS/Set Broadcast Activation Request' (0x003C)
8242 and returns the response
8243
8244 PARAMETERS:
8245 handle [ I ] - Gobi interface handle
8246 to [ I ] - Timeout for transaction (in milliseconds)
8247 inLen [ I ] - Length of input buffer
8248 pIn [ I ] - Input buffer
8249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8250 contain, upon output the number of BYTEs copied
8251 to pOut
8252 pOut [ O ] - Output buffer
8253
8254 RETURN VALUE:
8255 ULONG - Return code
8256 ===========================================================================*/
8257 ULONG WMSSetBroadcastActivation(
8258 GOBIHANDLE handle,
8259 ULONG to,
8260 ULONG inLen,
8261 const BYTE * pIn,
8262 ULONG * pOutLen,
8263 BYTE * pOut )
8264 {
8265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8266 if (pAPI == 0)
8267 {
8268 return (ULONG)eGOBI_ERR_INTERNAL;
8269 }
8270
8271 ULONG svcID = 5;
8272 ULONG msgID = 60;
8273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8274 }
8275
8276 /*===========================================================================
8277 METHOD:
8278 WMSSetBroadcastConfig
8279
8280 DESCRIPTION:
8281 The function sends 'WMS/Set Broadcast Config Request' (0x003D)
8282 and returns the response
8283
8284 PARAMETERS:
8285 handle [ I ] - Gobi interface handle
8286 to [ I ] - Timeout for transaction (in milliseconds)
8287 inLen [ I ] - Length of input buffer
8288 pIn [ I ] - Input buffer
8289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8290 contain, upon output the number of BYTEs copied
8291 to pOut
8292 pOut [ O ] - Output buffer
8293
8294 RETURN VALUE:
8295 ULONG - Return code
8296 ===========================================================================*/
8297 ULONG WMSSetBroadcastConfig(
8298 GOBIHANDLE handle,
8299 ULONG to,
8300 ULONG inLen,
8301 const BYTE * pIn,
8302 ULONG * pOutLen,
8303 BYTE * pOut )
8304 {
8305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8306 if (pAPI == 0)
8307 {
8308 return (ULONG)eGOBI_ERR_INTERNAL;
8309 }
8310
8311 ULONG svcID = 5;
8312 ULONG msgID = 61;
8313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8314 }
8315
8316 /*===========================================================================
8317 METHOD:
8318 WMSGetBroadcastConfig
8319
8320 DESCRIPTION:
8321 The function sends 'WMS/Get Broadcast Config Request' (0x003E)
8322 and returns the response
8323
8324 PARAMETERS:
8325 handle [ I ] - Gobi interface handle
8326 to [ I ] - Timeout for transaction (in milliseconds)
8327 inLen [ I ] - Length of input buffer
8328 pIn [ I ] - Input buffer
8329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8330 contain, upon output the number of BYTEs copied
8331 to pOut
8332 pOut [ O ] - Output buffer
8333
8334 RETURN VALUE:
8335 ULONG - Return code
8336 ===========================================================================*/
8337 ULONG WMSGetBroadcastConfig(
8338 GOBIHANDLE handle,
8339 ULONG to,
8340 ULONG inLen,
8341 const BYTE * pIn,
8342 ULONG * pOutLen,
8343 BYTE * pOut )
8344 {
8345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8346 if (pAPI == 0)
8347 {
8348 return (ULONG)eGOBI_ERR_INTERNAL;
8349 }
8350
8351 ULONG svcID = 5;
8352 ULONG msgID = 62;
8353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8354 }
8355
8356 /*===========================================================================
8357 METHOD:
8358 WMSGetDomainPreference
8359
8360 DESCRIPTION:
8361 The function sends 'WMS/Get Domain Preference Request' (0x0040)
8362 and returns the response
8363
8364 PARAMETERS:
8365 handle [ I ] - Gobi interface handle
8366 to [ I ] - Timeout for transaction (in milliseconds)
8367 inLen [ I ] - Reserved for future use (set to 0)
8368 pIn [ I ] - Reserved for future use (set to 0)
8369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8370 contain, upon output the number of BYTEs copied
8371 to pOut
8372 pOut [ O ] - Output buffer
8373
8374 RETURN VALUE:
8375 ULONG - Return code
8376 ===========================================================================*/
8377 ULONG WMSGetDomainPreference(
8378 GOBIHANDLE handle,
8379 ULONG to,
8380 ULONG inLen,
8381 const BYTE * pIn,
8382 ULONG * pOutLen,
8383 BYTE * pOut )
8384 {
8385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8386 if (pAPI == 0)
8387 {
8388 return (ULONG)eGOBI_ERR_INTERNAL;
8389 }
8390
8391 ULONG svcID = 5;
8392 ULONG msgID = 64;
8393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8394 }
8395
8396 /*===========================================================================
8397 METHOD:
8398 WMSSetDomainPreference
8399
8400 DESCRIPTION:
8401 The function sends 'WMS/Set Domain Preference Request' (0x0041)
8402 and returns the response
8403
8404 PARAMETERS:
8405 handle [ I ] - Gobi interface handle
8406 to [ I ] - Timeout for transaction (in milliseconds)
8407 inLen [ I ] - Length of input buffer
8408 pIn [ I ] - Input buffer
8409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8410 contain, upon output the number of BYTEs copied
8411 to pOut
8412 pOut [ O ] - Output buffer
8413
8414 RETURN VALUE:
8415 ULONG - Return code
8416 ===========================================================================*/
8417 ULONG WMSSetDomainPreference(
8418 GOBIHANDLE handle,
8419 ULONG to,
8420 ULONG inLen,
8421 const BYTE * pIn,
8422 ULONG * pOutLen,
8423 BYTE * pOut )
8424 {
8425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8426 if (pAPI == 0)
8427 {
8428 return (ULONG)eGOBI_ERR_INTERNAL;
8429 }
8430
8431 ULONG svcID = 5;
8432 ULONG msgID = 65;
8433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8434 }
8435
8436 /*===========================================================================
8437 METHOD:
8438 WMSSendFromMemoryStore
8439
8440 DESCRIPTION:
8441 The function sends 'WMS/Send From Memory Store Request' (0x0042)
8442 and returns the response
8443
8444 PARAMETERS:
8445 handle [ I ] - Gobi interface handle
8446 to [ I ] - Timeout for transaction (in milliseconds)
8447 inLen [ I ] - Length of input buffer
8448 pIn [ I ] - Input buffer
8449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8450 contain, upon output the number of BYTEs copied
8451 to pOut
8452 pOut [ O ] - Output buffer
8453
8454 RETURN VALUE:
8455 ULONG - Return code
8456 ===========================================================================*/
8457 ULONG WMSSendFromMemoryStore(
8458 GOBIHANDLE handle,
8459 ULONG to,
8460 ULONG inLen,
8461 const BYTE * pIn,
8462 ULONG * pOutLen,
8463 BYTE * pOut )
8464 {
8465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8466 if (pAPI == 0)
8467 {
8468 return (ULONG)eGOBI_ERR_INTERNAL;
8469 }
8470
8471 ULONG svcID = 5;
8472 ULONG msgID = 66;
8473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8474 }
8475
8476 /*===========================================================================
8477 METHOD:
8478 WMSGetWaitingMessage
8479
8480 DESCRIPTION:
8481 The function sends 'WMS/Get Waiting Message Request' (0x0043)
8482 and returns the response
8483
8484 PARAMETERS:
8485 handle [ I ] - Gobi interface handle
8486 to [ I ] - Timeout for transaction (in milliseconds)
8487 inLen [ I ] - Reserved for future use (set to 0)
8488 pIn [ I ] - Reserved for future use (set to 0)
8489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8490 contain, upon output the number of BYTEs copied
8491 to pOut
8492 pOut [ O ] - Output buffer
8493
8494 RETURN VALUE:
8495 ULONG - Return code
8496 ===========================================================================*/
8497 ULONG WMSGetWaitingMessage(
8498 GOBIHANDLE handle,
8499 ULONG to,
8500 ULONG inLen,
8501 const BYTE * pIn,
8502 ULONG * pOutLen,
8503 BYTE * pOut )
8504 {
8505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8506 if (pAPI == 0)
8507 {
8508 return (ULONG)eGOBI_ERR_INTERNAL;
8509 }
8510
8511 ULONG svcID = 5;
8512 ULONG msgID = 67;
8513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8514 }
8515
8516 /*===========================================================================
8517 METHOD:
8518 WMSSetPrimaryClient
8519
8520 DESCRIPTION:
8521 The function sends 'WMS/Set Primary Client Request' (0x0045)
8522 and returns the response
8523
8524 PARAMETERS:
8525 handle [ I ] - Gobi interface handle
8526 to [ I ] - Timeout for transaction (in milliseconds)
8527 inLen [ I ] - Length of input buffer
8528 pIn [ I ] - Input buffer
8529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8530 contain, upon output the number of BYTEs copied
8531 to pOut
8532 pOut [ O ] - Output buffer
8533
8534 RETURN VALUE:
8535 ULONG - Return code
8536 ===========================================================================*/
8537 ULONG WMSSetPrimaryClient(
8538 GOBIHANDLE handle,
8539 ULONG to,
8540 ULONG inLen,
8541 const BYTE * pIn,
8542 ULONG * pOutLen,
8543 BYTE * pOut )
8544 {
8545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8546 if (pAPI == 0)
8547 {
8548 return (ULONG)eGOBI_ERR_INTERNAL;
8549 }
8550
8551 ULONG svcID = 5;
8552 ULONG msgID = 69;
8553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8554 }
8555
8556 /*===========================================================================
8557 METHOD:
8558 WMSIndicatorRegistration
8559
8560 DESCRIPTION:
8561 The function sends 'WMS/Indicator Registration Request' (0x0047)
8562 and returns the response
8563
8564 PARAMETERS:
8565 handle [ I ] - Gobi interface handle
8566 to [ I ] - Timeout for transaction (in milliseconds)
8567 inLen [ I ] - Length of input buffer
8568 pIn [ I ] - Input buffer
8569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8570 contain, upon output the number of BYTEs copied
8571 to pOut
8572 pOut [ O ] - Output buffer
8573
8574 RETURN VALUE:
8575 ULONG - Return code
8576 ===========================================================================*/
8577 ULONG WMSIndicatorRegistration(
8578 GOBIHANDLE handle,
8579 ULONG to,
8580 ULONG inLen,
8581 const BYTE * pIn,
8582 ULONG * pOutLen,
8583 BYTE * pOut )
8584 {
8585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8586 if (pAPI == 0)
8587 {
8588 return (ULONG)eGOBI_ERR_INTERNAL;
8589 }
8590
8591 ULONG svcID = 5;
8592 ULONG msgID = 71;
8593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8594 }
8595
8596 /*===========================================================================
8597 METHOD:
8598 WMSGetTransportLayerInfo
8599
8600 DESCRIPTION:
8601 The function sends 'WMS/Get Transport Layer Info Request' (0x0048)
8602 and returns the response
8603
8604 PARAMETERS:
8605 handle [ I ] - Gobi interface handle
8606 to [ I ] - Timeout for transaction (in milliseconds)
8607 inLen [ I ] - Reserved for future use (set to 0)
8608 pIn [ I ] - Reserved for future use (set to 0)
8609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8610 contain, upon output the number of BYTEs copied
8611 to pOut
8612 pOut [ O ] - Output buffer
8613
8614 RETURN VALUE:
8615 ULONG - Return code
8616 ===========================================================================*/
8617 ULONG WMSGetTransportLayerInfo(
8618 GOBIHANDLE handle,
8619 ULONG to,
8620 ULONG inLen,
8621 const BYTE * pIn,
8622 ULONG * pOutLen,
8623 BYTE * pOut )
8624 {
8625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8626 if (pAPI == 0)
8627 {
8628 return (ULONG)eGOBI_ERR_INTERNAL;
8629 }
8630
8631 ULONG svcID = 5;
8632 ULONG msgID = 72;
8633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8634 }
8635
8636 /*===========================================================================
8637 METHOD:
8638 WMSGetNetworkRegistrationInfo
8639
8640 DESCRIPTION:
8641 The function sends 'WMS/Get Network Registration Info Request' (0x004A)
8642 and returns the response
8643
8644 PARAMETERS:
8645 handle [ I ] - Gobi interface handle
8646 to [ I ] - Timeout for transaction (in milliseconds)
8647 inLen [ I ] - Reserved for future use (set to 0)
8648 pIn [ I ] - Reserved for future use (set to 0)
8649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8650 contain, upon output the number of BYTEs copied
8651 to pOut
8652 pOut [ O ] - Output buffer
8653
8654 RETURN VALUE:
8655 ULONG - Return code
8656 ===========================================================================*/
8657 ULONG WMSGetNetworkRegistrationInfo(
8658 GOBIHANDLE handle,
8659 ULONG to,
8660 ULONG inLen,
8661 const BYTE * pIn,
8662 ULONG * pOutLen,
8663 BYTE * pOut )
8664 {
8665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8666 if (pAPI == 0)
8667 {
8668 return (ULONG)eGOBI_ERR_INTERNAL;
8669 }
8670
8671 ULONG svcID = 5;
8672 ULONG msgID = 74;
8673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8674 }
8675
8676 /*===========================================================================
8677 METHOD:
8678 WMSBindSubscription
8679
8680 DESCRIPTION:
8681 The function sends 'WMS/Bind Subscription Request' (0x004C)
8682 and returns the response
8683
8684 PARAMETERS:
8685 handle [ I ] - Gobi interface handle
8686 to [ I ] - Timeout for transaction (in milliseconds)
8687 inLen [ I ] - Length of input buffer
8688 pIn [ I ] - Input buffer
8689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8690 contain, upon output the number of BYTEs copied
8691 to pOut
8692 pOut [ O ] - Output buffer
8693
8694 RETURN VALUE:
8695 ULONG - Return code
8696 ===========================================================================*/
8697 ULONG WMSBindSubscription(
8698 GOBIHANDLE handle,
8699 ULONG to,
8700 ULONG inLen,
8701 const BYTE * pIn,
8702 ULONG * pOutLen,
8703 BYTE * pOut )
8704 {
8705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8706 if (pAPI == 0)
8707 {
8708 return (ULONG)eGOBI_ERR_INTERNAL;
8709 }
8710
8711 ULONG svcID = 5;
8712 ULONG msgID = 76;
8713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8714 }
8715
8716 /*===========================================================================
8717 METHOD:
8718 WMSGetIndicatorRegistration
8719
8720 DESCRIPTION:
8721 The function sends 'WMS/Get Indicator Registration Request' (0x004D)
8722 and returns the response
8723
8724 PARAMETERS:
8725 handle [ I ] - Gobi interface handle
8726 to [ I ] - Timeout for transaction (in milliseconds)
8727 inLen [ I ] - Reserved for future use (set to 0)
8728 pIn [ I ] - Reserved for future use (set to 0)
8729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8730 contain, upon output the number of BYTEs copied
8731 to pOut
8732 pOut [ O ] - Output buffer
8733
8734 RETURN VALUE:
8735 ULONG - Return code
8736 ===========================================================================*/
8737 ULONG WMSGetIndicatorRegistration(
8738 GOBIHANDLE handle,
8739 ULONG to,
8740 ULONG inLen,
8741 const BYTE * pIn,
8742 ULONG * pOutLen,
8743 BYTE * pOut )
8744 {
8745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8746 if (pAPI == 0)
8747 {
8748 return (ULONG)eGOBI_ERR_INTERNAL;
8749 }
8750
8751 ULONG svcID = 5;
8752 ULONG msgID = 77;
8753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8754 }
8755
8756 /*===========================================================================
8757 METHOD:
8758 WMSGetSMSParameters
8759
8760 DESCRIPTION:
8761 The function sends 'WMS/Get SMS Parameters Request' (0x004E)
8762 and returns the response
8763
8764 PARAMETERS:
8765 handle [ I ] - Gobi interface handle
8766 to [ I ] - Timeout for transaction (in milliseconds)
8767 inLen [ I ] - Length of input buffer
8768 pIn [ I ] - Input buffer
8769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8770 contain, upon output the number of BYTEs copied
8771 to pOut
8772 pOut [ O ] - Output buffer
8773
8774 RETURN VALUE:
8775 ULONG - Return code
8776 ===========================================================================*/
8777 ULONG WMSGetSMSParameters(
8778 GOBIHANDLE handle,
8779 ULONG to,
8780 ULONG inLen,
8781 const BYTE * pIn,
8782 ULONG * pOutLen,
8783 BYTE * pOut )
8784 {
8785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8786 if (pAPI == 0)
8787 {
8788 return (ULONG)eGOBI_ERR_INTERNAL;
8789 }
8790
8791 ULONG svcID = 5;
8792 ULONG msgID = 78;
8793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8794 }
8795
8796 /*===========================================================================
8797 METHOD:
8798 WMSSetSMSParameters
8799
8800 DESCRIPTION:
8801 The function sends 'WMS/Set SMS Parameters Request' (0x004F)
8802 and returns the response
8803
8804 PARAMETERS:
8805 handle [ I ] - Gobi interface handle
8806 to [ I ] - Timeout for transaction (in milliseconds)
8807 inLen [ I ] - Length of input buffer
8808 pIn [ I ] - Input buffer
8809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8810 contain, upon output the number of BYTEs copied
8811 to pOut
8812 pOut [ O ] - Output buffer
8813
8814 RETURN VALUE:
8815 ULONG - Return code
8816 ===========================================================================*/
8817 ULONG WMSSetSMSParameters(
8818 GOBIHANDLE handle,
8819 ULONG to,
8820 ULONG inLen,
8821 const BYTE * pIn,
8822 ULONG * pOutLen,
8823 BYTE * pOut )
8824 {
8825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8826 if (pAPI == 0)
8827 {
8828 return (ULONG)eGOBI_ERR_INTERNAL;
8829 }
8830
8831 ULONG svcID = 5;
8832 ULONG msgID = 79;
8833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8834 }
8835
8836 /*===========================================================================
8837 METHOD:
8838 WMSGetDomainPreferenceConfig
8839
8840 DESCRIPTION:
8841 The function sends 'WMS/Get Domain Preference Config Request' (0x0051)
8842 and returns the response
8843
8844 PARAMETERS:
8845 handle [ I ] - Gobi interface handle
8846 to [ I ] - Timeout for transaction (in milliseconds)
8847 inLen [ I ] - Reserved for future use (set to 0)
8848 pIn [ I ] - Reserved for future use (set to 0)
8849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8850 contain, upon output the number of BYTEs copied
8851 to pOut
8852 pOut [ O ] - Output buffer
8853
8854 RETURN VALUE:
8855 ULONG - Return code
8856 ===========================================================================*/
8857 ULONG WMSGetDomainPreferenceConfig(
8858 GOBIHANDLE handle,
8859 ULONG to,
8860 ULONG inLen,
8861 const BYTE * pIn,
8862 ULONG * pOutLen,
8863 BYTE * pOut )
8864 {
8865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8866 if (pAPI == 0)
8867 {
8868 return (ULONG)eGOBI_ERR_INTERNAL;
8869 }
8870
8871 ULONG svcID = 5;
8872 ULONG msgID = 81;
8873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8874 }
8875
8876 /*===========================================================================
8877 METHOD:
8878 WMSSetDomainPreferenceConfig
8879
8880 DESCRIPTION:
8881 The function sends 'WMS/Set Domain Preference Config Request' (0x0052)
8882 and returns the response
8883
8884 PARAMETERS:
8885 handle [ I ] - Gobi interface handle
8886 to [ I ] - Timeout for transaction (in milliseconds)
8887 inLen [ I ] - Length of input buffer
8888 pIn [ I ] - Input buffer
8889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8890 contain, upon output the number of BYTEs copied
8891 to pOut
8892 pOut [ O ] - Output buffer
8893
8894 RETURN VALUE:
8895 ULONG - Return code
8896 ===========================================================================*/
8897 ULONG WMSSetDomainPreferenceConfig(
8898 GOBIHANDLE handle,
8899 ULONG to,
8900 ULONG inLen,
8901 const BYTE * pIn,
8902 ULONG * pOutLen,
8903 BYTE * pOut )
8904 {
8905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8906 if (pAPI == 0)
8907 {
8908 return (ULONG)eGOBI_ERR_INTERNAL;
8909 }
8910
8911 ULONG svcID = 5;
8912 ULONG msgID = 82;
8913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8914 }
8915
8916 /*===========================================================================
8917 METHOD:
8918 WMSGetRetryPeriod
8919
8920 DESCRIPTION:
8921 The function sends 'WMS/Get Retry Period Request' (0x0053)
8922 and returns the response
8923
8924 PARAMETERS:
8925 handle [ I ] - Gobi interface handle
8926 to [ I ] - Timeout for transaction (in milliseconds)
8927 inLen [ I ] - Reserved for future use (set to 0)
8928 pIn [ I ] - Reserved for future use (set to 0)
8929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8930 contain, upon output the number of BYTEs copied
8931 to pOut
8932 pOut [ O ] - Output buffer
8933
8934 RETURN VALUE:
8935 ULONG - Return code
8936 ===========================================================================*/
8937 ULONG WMSGetRetryPeriod(
8938 GOBIHANDLE handle,
8939 ULONG to,
8940 ULONG inLen,
8941 const BYTE * pIn,
8942 ULONG * pOutLen,
8943 BYTE * pOut )
8944 {
8945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8946 if (pAPI == 0)
8947 {
8948 return (ULONG)eGOBI_ERR_INTERNAL;
8949 }
8950
8951 ULONG svcID = 5;
8952 ULONG msgID = 83;
8953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8954 }
8955
8956 /*===========================================================================
8957 METHOD:
8958 WMSGetRetryInterval
8959
8960 DESCRIPTION:
8961 The function sends 'WMS/Get Retry Interval Request' (0x0054)
8962 and returns the response
8963
8964 PARAMETERS:
8965 handle [ I ] - Gobi interface handle
8966 to [ I ] - Timeout for transaction (in milliseconds)
8967 inLen [ I ] - Reserved for future use (set to 0)
8968 pIn [ I ] - Reserved for future use (set to 0)
8969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
8970 contain, upon output the number of BYTEs copied
8971 to pOut
8972 pOut [ O ] - Output buffer
8973
8974 RETURN VALUE:
8975 ULONG - Return code
8976 ===========================================================================*/
8977 ULONG WMSGetRetryInterval(
8978 GOBIHANDLE handle,
8979 ULONG to,
8980 ULONG inLen,
8981 const BYTE * pIn,
8982 ULONG * pOutLen,
8983 BYTE * pOut )
8984 {
8985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
8986 if (pAPI == 0)
8987 {
8988 return (ULONG)eGOBI_ERR_INTERNAL;
8989 }
8990
8991 ULONG svcID = 5;
8992 ULONG msgID = 84;
8993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
8994 }
8995
8996 /*===========================================================================
8997 METHOD:
8998 WMSGetDCDisconnectTimer
8999
9000 DESCRIPTION:
9001 The function sends 'WMS/Get DC Disconnect Timer Request' (0x0055)
9002 and returns the response
9003
9004 PARAMETERS:
9005 handle [ I ] - Gobi interface handle
9006 to [ I ] - Timeout for transaction (in milliseconds)
9007 inLen [ I ] - Reserved for future use (set to 0)
9008 pIn [ I ] - Reserved for future use (set to 0)
9009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9010 contain, upon output the number of BYTEs copied
9011 to pOut
9012 pOut [ O ] - Output buffer
9013
9014 RETURN VALUE:
9015 ULONG - Return code
9016 ===========================================================================*/
9017 ULONG WMSGetDCDisconnectTimer(
9018 GOBIHANDLE handle,
9019 ULONG to,
9020 ULONG inLen,
9021 const BYTE * pIn,
9022 ULONG * pOutLen,
9023 BYTE * pOut )
9024 {
9025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9026 if (pAPI == 0)
9027 {
9028 return (ULONG)eGOBI_ERR_INTERNAL;
9029 }
9030
9031 ULONG svcID = 5;
9032 ULONG msgID = 85;
9033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9034 }
9035
9036 /*===========================================================================
9037 METHOD:
9038 WMSGetMemoryStatus
9039
9040 DESCRIPTION:
9041 The function sends 'WMS/Get Memory Status Request' (0x0056)
9042 and returns the response
9043
9044 PARAMETERS:
9045 handle [ I ] - Gobi interface handle
9046 to [ I ] - Timeout for transaction (in milliseconds)
9047 inLen [ I ] - Reserved for future use (set to 0)
9048 pIn [ I ] - Reserved for future use (set to 0)
9049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9050 contain, upon output the number of BYTEs copied
9051 to pOut
9052 pOut [ O ] - Output buffer
9053
9054 RETURN VALUE:
9055 ULONG - Return code
9056 ===========================================================================*/
9057 ULONG WMSGetMemoryStatus(
9058 GOBIHANDLE handle,
9059 ULONG to,
9060 ULONG inLen,
9061 const BYTE * pIn,
9062 ULONG * pOutLen,
9063 BYTE * pOut )
9064 {
9065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9066 if (pAPI == 0)
9067 {
9068 return (ULONG)eGOBI_ERR_INTERNAL;
9069 }
9070
9071 ULONG svcID = 5;
9072 ULONG msgID = 86;
9073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9074 }
9075
9076 /*===========================================================================
9077 METHOD:
9078 WMSGetPrimaryClient
9079
9080 DESCRIPTION:
9081 The function sends 'WMS/Get Primary Client Request' (0x0057)
9082 and returns the response
9083
9084 PARAMETERS:
9085 handle [ I ] - Gobi interface handle
9086 to [ I ] - Timeout for transaction (in milliseconds)
9087 inLen [ I ] - Reserved for future use (set to 0)
9088 pIn [ I ] - Reserved for future use (set to 0)
9089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9090 contain, upon output the number of BYTEs copied
9091 to pOut
9092 pOut [ O ] - Output buffer
9093
9094 RETURN VALUE:
9095 ULONG - Return code
9096 ===========================================================================*/
9097 ULONG WMSGetPrimaryClient(
9098 GOBIHANDLE handle,
9099 ULONG to,
9100 ULONG inLen,
9101 const BYTE * pIn,
9102 ULONG * pOutLen,
9103 BYTE * pOut )
9104 {
9105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9106 if (pAPI == 0)
9107 {
9108 return (ULONG)eGOBI_ERR_INTERNAL;
9109 }
9110
9111 ULONG svcID = 5;
9112 ULONG msgID = 87;
9113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9114 }
9115
9116 /*===========================================================================
9117 METHOD:
9118 WMSGetSubscriptionBinding
9119
9120 DESCRIPTION:
9121 The function sends 'WMS/Get Subscription Binding Request' (0x0058)
9122 and returns the response
9123
9124 PARAMETERS:
9125 handle [ I ] - Gobi interface handle
9126 to [ I ] - Timeout for transaction (in milliseconds)
9127 inLen [ I ] - Reserved for future use (set to 0)
9128 pIn [ I ] - Reserved for future use (set to 0)
9129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9130 contain, upon output the number of BYTEs copied
9131 to pOut
9132 pOut [ O ] - Output buffer
9133
9134 RETURN VALUE:
9135 ULONG - Return code
9136 ===========================================================================*/
9137 ULONG WMSGetSubscriptionBinding(
9138 GOBIHANDLE handle,
9139 ULONG to,
9140 ULONG inLen,
9141 const BYTE * pIn,
9142 ULONG * pOutLen,
9143 BYTE * pOut )
9144 {
9145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9146 if (pAPI == 0)
9147 {
9148 return (ULONG)eGOBI_ERR_INTERNAL;
9149 }
9150
9151 ULONG svcID = 5;
9152 ULONG msgID = 88;
9153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9154 }
9155
9156 /*===========================================================================
9157 METHOD:
9158 WMSAsyncRawSend
9159
9160 DESCRIPTION:
9161 The function sends 'WMS/Async Raw Send Request' (0x0059)
9162 and returns the response
9163
9164 PARAMETERS:
9165 handle [ I ] - Gobi interface handle
9166 to [ I ] - Timeout for transaction (in milliseconds)
9167 inLen [ I ] - Length of input buffer
9168 pIn [ I ] - Input buffer
9169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9170 contain, upon output the number of BYTEs copied
9171 to pOut
9172 pOut [ O ] - Output buffer
9173
9174 RETURN VALUE:
9175 ULONG - Return code
9176 ===========================================================================*/
9177 ULONG WMSAsyncRawSend(
9178 GOBIHANDLE handle,
9179 ULONG to,
9180 ULONG inLen,
9181 const BYTE * pIn,
9182 ULONG * pOutLen,
9183 BYTE * pOut )
9184 {
9185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9186 if (pAPI == 0)
9187 {
9188 return (ULONG)eGOBI_ERR_INTERNAL;
9189 }
9190
9191 ULONG svcID = 5;
9192 ULONG msgID = 89;
9193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9194 }
9195
9196 /*===========================================================================
9197 METHOD:
9198 WMSAsyncSendACK
9199
9200 DESCRIPTION:
9201 The function sends 'WMS/Async Send ACK Request' (0x005A)
9202 and returns the response
9203
9204 PARAMETERS:
9205 handle [ I ] - Gobi interface handle
9206 to [ I ] - Timeout for transaction (in milliseconds)
9207 inLen [ I ] - Length of input buffer
9208 pIn [ I ] - Input buffer
9209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9210 contain, upon output the number of BYTEs copied
9211 to pOut
9212 pOut [ O ] - Output buffer
9213
9214 RETURN VALUE:
9215 ULONG - Return code
9216 ===========================================================================*/
9217 ULONG WMSAsyncSendACK(
9218 GOBIHANDLE handle,
9219 ULONG to,
9220 ULONG inLen,
9221 const BYTE * pIn,
9222 ULONG * pOutLen,
9223 BYTE * pOut )
9224 {
9225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9226 if (pAPI == 0)
9227 {
9228 return (ULONG)eGOBI_ERR_INTERNAL;
9229 }
9230
9231 ULONG svcID = 5;
9232 ULONG msgID = 90;
9233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9234 }
9235
9236 /*===========================================================================
9237 METHOD:
9238 WMSAsyncSendFromMemoryStore
9239
9240 DESCRIPTION:
9241 The function sends 'WMS/Async Send From Memory Store Request' (0x005B)
9242 and returns the response
9243
9244 PARAMETERS:
9245 handle [ I ] - Gobi interface handle
9246 to [ I ] - Timeout for transaction (in milliseconds)
9247 inLen [ I ] - Length of input buffer
9248 pIn [ I ] - Input buffer
9249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9250 contain, upon output the number of BYTEs copied
9251 to pOut
9252 pOut [ O ] - Output buffer
9253
9254 RETURN VALUE:
9255 ULONG - Return code
9256 ===========================================================================*/
9257 ULONG WMSAsyncSendFromMemoryStore(
9258 GOBIHANDLE handle,
9259 ULONG to,
9260 ULONG inLen,
9261 const BYTE * pIn,
9262 ULONG * pOutLen,
9263 BYTE * pOut )
9264 {
9265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9266 if (pAPI == 0)
9267 {
9268 return (ULONG)eGOBI_ERR_INTERNAL;
9269 }
9270
9271 ULONG svcID = 5;
9272 ULONG msgID = 91;
9273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9274 }
9275
9276 /*===========================================================================
9277 METHOD:
9278 WMSGetServiceReadyStatus
9279
9280 DESCRIPTION:
9281 The function sends 'WMS/Get Service Ready Status Request' (0x005C)
9282 and returns the response
9283
9284 PARAMETERS:
9285 handle [ I ] - Gobi interface handle
9286 to [ I ] - Timeout for transaction (in milliseconds)
9287 inLen [ I ] - Reserved for future use (set to 0)
9288 pIn [ I ] - Reserved for future use (set to 0)
9289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9290 contain, upon output the number of BYTEs copied
9291 to pOut
9292 pOut [ O ] - Output buffer
9293
9294 RETURN VALUE:
9295 ULONG - Return code
9296 ===========================================================================*/
9297 ULONG WMSGetServiceReadyStatus(
9298 GOBIHANDLE handle,
9299 ULONG to,
9300 ULONG inLen,
9301 const BYTE * pIn,
9302 ULONG * pOutLen,
9303 BYTE * pOut )
9304 {
9305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9306 if (pAPI == 0)
9307 {
9308 return (ULONG)eGOBI_ERR_INTERNAL;
9309 }
9310
9311 ULONG svcID = 5;
9312 ULONG msgID = 92;
9313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9314 }
9315
9316 /*===========================================================================
9317 METHOD:
9318 PDSReset
9319
9320 DESCRIPTION:
9321 The function sends 'PDS/Reset Request' (0x0000)
9322 and returns the response
9323
9324 PARAMETERS:
9325 handle [ I ] - Gobi interface handle
9326 to [ I ] - Timeout for transaction (in milliseconds)
9327 inLen [ I ] - Reserved for future use (set to 0)
9328 pIn [ I ] - Reserved for future use (set to 0)
9329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9330 contain, upon output the number of BYTEs copied
9331 to pOut
9332 pOut [ O ] - Output buffer
9333
9334 RETURN VALUE:
9335 ULONG - Return code
9336 ===========================================================================*/
9337 ULONG PDSReset(
9338 GOBIHANDLE handle,
9339 ULONG to,
9340 ULONG inLen,
9341 const BYTE * pIn,
9342 ULONG * pOutLen,
9343 BYTE * pOut )
9344 {
9345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9346 if (pAPI == 0)
9347 {
9348 return (ULONG)eGOBI_ERR_INTERNAL;
9349 }
9350
9351 ULONG svcID = 6;
9352 ULONG msgID = 0;
9353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9354 }
9355
9356 /*===========================================================================
9357 METHOD:
9358 PDSSetEventReport
9359
9360 DESCRIPTION:
9361 The function sends 'PDS/Set Event Report Request' (0x0001)
9362 and returns the response
9363
9364 PARAMETERS:
9365 handle [ I ] - Gobi interface handle
9366 to [ I ] - Timeout for transaction (in milliseconds)
9367 inLen [ I ] - Length of input buffer
9368 pIn [ I ] - Input buffer
9369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9370 contain, upon output the number of BYTEs copied
9371 to pOut
9372 pOut [ O ] - Output buffer
9373
9374 RETURN VALUE:
9375 ULONG - Return code
9376 ===========================================================================*/
9377 ULONG PDSSetEventReport(
9378 GOBIHANDLE handle,
9379 ULONG to,
9380 ULONG inLen,
9381 const BYTE * pIn,
9382 ULONG * pOutLen,
9383 BYTE * pOut )
9384 {
9385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9386 if (pAPI == 0)
9387 {
9388 return (ULONG)eGOBI_ERR_INTERNAL;
9389 }
9390
9391 ULONG svcID = 6;
9392 ULONG msgID = 1;
9393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9394 }
9395
9396 /*===========================================================================
9397 METHOD:
9398 PDSGetServiceState
9399
9400 DESCRIPTION:
9401 The function sends 'PDS/Get Service State Request' (0x0020)
9402 and returns the response
9403
9404 PARAMETERS:
9405 handle [ I ] - Gobi interface handle
9406 to [ I ] - Timeout for transaction (in milliseconds)
9407 inLen [ I ] - Reserved for future use (set to 0)
9408 pIn [ I ] - Reserved for future use (set to 0)
9409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9410 contain, upon output the number of BYTEs copied
9411 to pOut
9412 pOut [ O ] - Output buffer
9413
9414 RETURN VALUE:
9415 ULONG - Return code
9416 ===========================================================================*/
9417 ULONG PDSGetServiceState(
9418 GOBIHANDLE handle,
9419 ULONG to,
9420 ULONG inLen,
9421 const BYTE * pIn,
9422 ULONG * pOutLen,
9423 BYTE * pOut )
9424 {
9425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9426 if (pAPI == 0)
9427 {
9428 return (ULONG)eGOBI_ERR_INTERNAL;
9429 }
9430
9431 ULONG svcID = 6;
9432 ULONG msgID = 32;
9433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9434 }
9435
9436 /*===========================================================================
9437 METHOD:
9438 PDSSetServiceState
9439
9440 DESCRIPTION:
9441 The function sends 'PDS/Set Service State Request' (0x0021)
9442 and returns the response
9443
9444 PARAMETERS:
9445 handle [ I ] - Gobi interface handle
9446 to [ I ] - Timeout for transaction (in milliseconds)
9447 inLen [ I ] - Length of input buffer
9448 pIn [ I ] - Input buffer
9449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9450 contain, upon output the number of BYTEs copied
9451 to pOut
9452 pOut [ O ] - Output buffer
9453
9454 RETURN VALUE:
9455 ULONG - Return code
9456 ===========================================================================*/
9457 ULONG PDSSetServiceState(
9458 GOBIHANDLE handle,
9459 ULONG to,
9460 ULONG inLen,
9461 const BYTE * pIn,
9462 ULONG * pOutLen,
9463 BYTE * pOut )
9464 {
9465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9466 if (pAPI == 0)
9467 {
9468 return (ULONG)eGOBI_ERR_INTERNAL;
9469 }
9470
9471 ULONG svcID = 6;
9472 ULONG msgID = 33;
9473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9474 }
9475
9476 /*===========================================================================
9477 METHOD:
9478 PDSStartTrackingSession
9479
9480 DESCRIPTION:
9481 The function sends 'PDS/Start Tracking Session Request' (0x0022)
9482 and returns the response
9483
9484 PARAMETERS:
9485 handle [ I ] - Gobi interface handle
9486 to [ I ] - Timeout for transaction (in milliseconds)
9487 inLen [ I ] - Length of input buffer
9488 pIn [ I ] - Input buffer
9489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9490 contain, upon output the number of BYTEs copied
9491 to pOut
9492 pOut [ O ] - Output buffer
9493
9494 RETURN VALUE:
9495 ULONG - Return code
9496 ===========================================================================*/
9497 ULONG PDSStartTrackingSession(
9498 GOBIHANDLE handle,
9499 ULONG to,
9500 ULONG inLen,
9501 const BYTE * pIn,
9502 ULONG * pOutLen,
9503 BYTE * pOut )
9504 {
9505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9506 if (pAPI == 0)
9507 {
9508 return (ULONG)eGOBI_ERR_INTERNAL;
9509 }
9510
9511 ULONG svcID = 6;
9512 ULONG msgID = 34;
9513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9514 }
9515
9516 /*===========================================================================
9517 METHOD:
9518 PDSGetTrackingSessionInfo
9519
9520 DESCRIPTION:
9521 The function sends 'PDS/Get Tracking Session Info Request' (0x0023)
9522 and returns the response
9523
9524 PARAMETERS:
9525 handle [ I ] - Gobi interface handle
9526 to [ I ] - Timeout for transaction (in milliseconds)
9527 inLen [ I ] - Reserved for future use (set to 0)
9528 pIn [ I ] - Reserved for future use (set to 0)
9529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9530 contain, upon output the number of BYTEs copied
9531 to pOut
9532 pOut [ O ] - Output buffer
9533
9534 RETURN VALUE:
9535 ULONG - Return code
9536 ===========================================================================*/
9537 ULONG PDSGetTrackingSessionInfo(
9538 GOBIHANDLE handle,
9539 ULONG to,
9540 ULONG inLen,
9541 const BYTE * pIn,
9542 ULONG * pOutLen,
9543 BYTE * pOut )
9544 {
9545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9546 if (pAPI == 0)
9547 {
9548 return (ULONG)eGOBI_ERR_INTERNAL;
9549 }
9550
9551 ULONG svcID = 6;
9552 ULONG msgID = 35;
9553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9554 }
9555
9556 /*===========================================================================
9557 METHOD:
9558 PDSFixPosition
9559
9560 DESCRIPTION:
9561 The function sends 'PDS/Fix Position Request' (0x0024)
9562 and returns the response
9563
9564 PARAMETERS:
9565 handle [ I ] - Gobi interface handle
9566 to [ I ] - Timeout for transaction (in milliseconds)
9567 inLen [ I ] - Reserved for future use (set to 0)
9568 pIn [ I ] - Reserved for future use (set to 0)
9569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9570 contain, upon output the number of BYTEs copied
9571 to pOut
9572 pOut [ O ] - Output buffer
9573
9574 RETURN VALUE:
9575 ULONG - Return code
9576 ===========================================================================*/
9577 ULONG PDSFixPosition(
9578 GOBIHANDLE handle,
9579 ULONG to,
9580 ULONG inLen,
9581 const BYTE * pIn,
9582 ULONG * pOutLen,
9583 BYTE * pOut )
9584 {
9585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9586 if (pAPI == 0)
9587 {
9588 return (ULONG)eGOBI_ERR_INTERNAL;
9589 }
9590
9591 ULONG svcID = 6;
9592 ULONG msgID = 36;
9593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9594 }
9595
9596 /*===========================================================================
9597 METHOD:
9598 PDSEndTrackingSession
9599
9600 DESCRIPTION:
9601 The function sends 'PDS/End Tracking Session Request' (0x0025)
9602 and returns the response
9603
9604 PARAMETERS:
9605 handle [ I ] - Gobi interface handle
9606 to [ I ] - Timeout for transaction (in milliseconds)
9607 inLen [ I ] - Reserved for future use (set to 0)
9608 pIn [ I ] - Reserved for future use (set to 0)
9609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9610 contain, upon output the number of BYTEs copied
9611 to pOut
9612 pOut [ O ] - Output buffer
9613
9614 RETURN VALUE:
9615 ULONG - Return code
9616 ===========================================================================*/
9617 ULONG PDSEndTrackingSession(
9618 GOBIHANDLE handle,
9619 ULONG to,
9620 ULONG inLen,
9621 const BYTE * pIn,
9622 ULONG * pOutLen,
9623 BYTE * pOut )
9624 {
9625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9626 if (pAPI == 0)
9627 {
9628 return (ULONG)eGOBI_ERR_INTERNAL;
9629 }
9630
9631 ULONG svcID = 6;
9632 ULONG msgID = 37;
9633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9634 }
9635
9636 /*===========================================================================
9637 METHOD:
9638 PDSGetNMEAConfig
9639
9640 DESCRIPTION:
9641 The function sends 'PDS/Get NMEA Config Request' (0x0026)
9642 and returns the response
9643
9644 PARAMETERS:
9645 handle [ I ] - Gobi interface handle
9646 to [ I ] - Timeout for transaction (in milliseconds)
9647 inLen [ I ] - Reserved for future use (set to 0)
9648 pIn [ I ] - Reserved for future use (set to 0)
9649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9650 contain, upon output the number of BYTEs copied
9651 to pOut
9652 pOut [ O ] - Output buffer
9653
9654 RETURN VALUE:
9655 ULONG - Return code
9656 ===========================================================================*/
9657 ULONG PDSGetNMEAConfig(
9658 GOBIHANDLE handle,
9659 ULONG to,
9660 ULONG inLen,
9661 const BYTE * pIn,
9662 ULONG * pOutLen,
9663 BYTE * pOut )
9664 {
9665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9666 if (pAPI == 0)
9667 {
9668 return (ULONG)eGOBI_ERR_INTERNAL;
9669 }
9670
9671 ULONG svcID = 6;
9672 ULONG msgID = 38;
9673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9674 }
9675
9676 /*===========================================================================
9677 METHOD:
9678 PDSSetNMEAConfig
9679
9680 DESCRIPTION:
9681 The function sends 'PDS/Set NMEA Config Request' (0x0027)
9682 and returns the response
9683
9684 PARAMETERS:
9685 handle [ I ] - Gobi interface handle
9686 to [ I ] - Timeout for transaction (in milliseconds)
9687 inLen [ I ] - Length of input buffer
9688 pIn [ I ] - Input buffer
9689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9690 contain, upon output the number of BYTEs copied
9691 to pOut
9692 pOut [ O ] - Output buffer
9693
9694 RETURN VALUE:
9695 ULONG - Return code
9696 ===========================================================================*/
9697 ULONG PDSSetNMEAConfig(
9698 GOBIHANDLE handle,
9699 ULONG to,
9700 ULONG inLen,
9701 const BYTE * pIn,
9702 ULONG * pOutLen,
9703 BYTE * pOut )
9704 {
9705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9706 if (pAPI == 0)
9707 {
9708 return (ULONG)eGOBI_ERR_INTERNAL;
9709 }
9710
9711 ULONG svcID = 6;
9712 ULONG msgID = 39;
9713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9714 }
9715
9716 /*===========================================================================
9717 METHOD:
9718 PDSInjectTimeReference
9719
9720 DESCRIPTION:
9721 The function sends 'PDS/Inject Time Reference Request' (0x0028)
9722 and returns the response
9723
9724 PARAMETERS:
9725 handle [ I ] - Gobi interface handle
9726 to [ I ] - Timeout for transaction (in milliseconds)
9727 inLen [ I ] - Length of input buffer
9728 pIn [ I ] - Input buffer
9729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9730 contain, upon output the number of BYTEs copied
9731 to pOut
9732 pOut [ O ] - Output buffer
9733
9734 RETURN VALUE:
9735 ULONG - Return code
9736 ===========================================================================*/
9737 ULONG PDSInjectTimeReference(
9738 GOBIHANDLE handle,
9739 ULONG to,
9740 ULONG inLen,
9741 const BYTE * pIn,
9742 ULONG * pOutLen,
9743 BYTE * pOut )
9744 {
9745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9746 if (pAPI == 0)
9747 {
9748 return (ULONG)eGOBI_ERR_INTERNAL;
9749 }
9750
9751 ULONG svcID = 6;
9752 ULONG msgID = 40;
9753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9754 }
9755
9756 /*===========================================================================
9757 METHOD:
9758 PDSGetDefaults
9759
9760 DESCRIPTION:
9761 The function sends 'PDS/Get Defaults Request' (0x0029)
9762 and returns the response
9763
9764 PARAMETERS:
9765 handle [ I ] - Gobi interface handle
9766 to [ I ] - Timeout for transaction (in milliseconds)
9767 inLen [ I ] - Reserved for future use (set to 0)
9768 pIn [ I ] - Reserved for future use (set to 0)
9769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9770 contain, upon output the number of BYTEs copied
9771 to pOut
9772 pOut [ O ] - Output buffer
9773
9774 RETURN VALUE:
9775 ULONG - Return code
9776 ===========================================================================*/
9777 ULONG PDSGetDefaults(
9778 GOBIHANDLE handle,
9779 ULONG to,
9780 ULONG inLen,
9781 const BYTE * pIn,
9782 ULONG * pOutLen,
9783 BYTE * pOut )
9784 {
9785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9786 if (pAPI == 0)
9787 {
9788 return (ULONG)eGOBI_ERR_INTERNAL;
9789 }
9790
9791 ULONG svcID = 6;
9792 ULONG msgID = 41;
9793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9794 }
9795
9796 /*===========================================================================
9797 METHOD:
9798 PDSSetDefaults
9799
9800 DESCRIPTION:
9801 The function sends 'PDS/Set Defaults Request' (0x002A)
9802 and returns the response
9803
9804 PARAMETERS:
9805 handle [ I ] - Gobi interface handle
9806 to [ I ] - Timeout for transaction (in milliseconds)
9807 inLen [ I ] - Length of input buffer
9808 pIn [ I ] - Input buffer
9809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9810 contain, upon output the number of BYTEs copied
9811 to pOut
9812 pOut [ O ] - Output buffer
9813
9814 RETURN VALUE:
9815 ULONG - Return code
9816 ===========================================================================*/
9817 ULONG PDSSetDefaults(
9818 GOBIHANDLE handle,
9819 ULONG to,
9820 ULONG inLen,
9821 const BYTE * pIn,
9822 ULONG * pOutLen,
9823 BYTE * pOut )
9824 {
9825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9826 if (pAPI == 0)
9827 {
9828 return (ULONG)eGOBI_ERR_INTERNAL;
9829 }
9830
9831 ULONG svcID = 6;
9832 ULONG msgID = 42;
9833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9834 }
9835
9836 /*===========================================================================
9837 METHOD:
9838 PDSGetXTRAParameters
9839
9840 DESCRIPTION:
9841 The function sends 'PDS/Get XTRA Parameters Request' (0x002B)
9842 and returns the response
9843
9844 PARAMETERS:
9845 handle [ I ] - Gobi interface handle
9846 to [ I ] - Timeout for transaction (in milliseconds)
9847 inLen [ I ] - Reserved for future use (set to 0)
9848 pIn [ I ] - Reserved for future use (set to 0)
9849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9850 contain, upon output the number of BYTEs copied
9851 to pOut
9852 pOut [ O ] - Output buffer
9853
9854 RETURN VALUE:
9855 ULONG - Return code
9856 ===========================================================================*/
9857 ULONG PDSGetXTRAParameters(
9858 GOBIHANDLE handle,
9859 ULONG to,
9860 ULONG inLen,
9861 const BYTE * pIn,
9862 ULONG * pOutLen,
9863 BYTE * pOut )
9864 {
9865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9866 if (pAPI == 0)
9867 {
9868 return (ULONG)eGOBI_ERR_INTERNAL;
9869 }
9870
9871 ULONG svcID = 6;
9872 ULONG msgID = 43;
9873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9874 }
9875
9876 /*===========================================================================
9877 METHOD:
9878 PDSSetXTRAParameters
9879
9880 DESCRIPTION:
9881 The function sends 'PDS/Set XTRA Parameters Request' (0x002C)
9882 and returns the response
9883
9884 PARAMETERS:
9885 handle [ I ] - Gobi interface handle
9886 to [ I ] - Timeout for transaction (in milliseconds)
9887 inLen [ I ] - Length of input buffer
9888 pIn [ I ] - Input buffer
9889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9890 contain, upon output the number of BYTEs copied
9891 to pOut
9892 pOut [ O ] - Output buffer
9893
9894 RETURN VALUE:
9895 ULONG - Return code
9896 ===========================================================================*/
9897 ULONG PDSSetXTRAParameters(
9898 GOBIHANDLE handle,
9899 ULONG to,
9900 ULONG inLen,
9901 const BYTE * pIn,
9902 ULONG * pOutLen,
9903 BYTE * pOut )
9904 {
9905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9906 if (pAPI == 0)
9907 {
9908 return (ULONG)eGOBI_ERR_INTERNAL;
9909 }
9910
9911 ULONG svcID = 6;
9912 ULONG msgID = 44;
9913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9914 }
9915
9916 /*===========================================================================
9917 METHOD:
9918 PDSForceXTRADownload
9919
9920 DESCRIPTION:
9921 The function sends 'PDS/Force XTRA Download Request' (0x002D)
9922 and returns the response
9923
9924 PARAMETERS:
9925 handle [ I ] - Gobi interface handle
9926 to [ I ] - Timeout for transaction (in milliseconds)
9927 inLen [ I ] - Reserved for future use (set to 0)
9928 pIn [ I ] - Reserved for future use (set to 0)
9929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9930 contain, upon output the number of BYTEs copied
9931 to pOut
9932 pOut [ O ] - Output buffer
9933
9934 RETURN VALUE:
9935 ULONG - Return code
9936 ===========================================================================*/
9937 ULONG PDSForceXTRADownload(
9938 GOBIHANDLE handle,
9939 ULONG to,
9940 ULONG inLen,
9941 const BYTE * pIn,
9942 ULONG * pOutLen,
9943 BYTE * pOut )
9944 {
9945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9946 if (pAPI == 0)
9947 {
9948 return (ULONG)eGOBI_ERR_INTERNAL;
9949 }
9950
9951 ULONG svcID = 6;
9952 ULONG msgID = 45;
9953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9954 }
9955
9956 /*===========================================================================
9957 METHOD:
9958 PDSGetAGPSConfig
9959
9960 DESCRIPTION:
9961 The function sends 'PDS/Get AGPS Config Request' (0x002E)
9962 and returns the response
9963
9964 PARAMETERS:
9965 handle [ I ] - Gobi interface handle
9966 to [ I ] - Timeout for transaction (in milliseconds)
9967 inLen [ I ] - Length of input buffer
9968 pIn [ I ] - Input buffer
9969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
9970 contain, upon output the number of BYTEs copied
9971 to pOut
9972 pOut [ O ] - Output buffer
9973
9974 RETURN VALUE:
9975 ULONG - Return code
9976 ===========================================================================*/
9977 ULONG PDSGetAGPSConfig(
9978 GOBIHANDLE handle,
9979 ULONG to,
9980 ULONG inLen,
9981 const BYTE * pIn,
9982 ULONG * pOutLen,
9983 BYTE * pOut )
9984 {
9985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
9986 if (pAPI == 0)
9987 {
9988 return (ULONG)eGOBI_ERR_INTERNAL;
9989 }
9990
9991 ULONG svcID = 6;
9992 ULONG msgID = 46;
9993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
9994 }
9995
9996 /*===========================================================================
9997 METHOD:
9998 PDSSetAGPSConfig
9999
10000 DESCRIPTION:
10001 The function sends 'PDS/Set AGPS Config Request' (0x002F)
10002 and returns the response
10003
10004 PARAMETERS:
10005 handle [ I ] - Gobi interface handle
10006 to [ I ] - Timeout for transaction (in milliseconds)
10007 inLen [ I ] - Length of input buffer
10008 pIn [ I ] - Input buffer
10009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10010 contain, upon output the number of BYTEs copied
10011 to pOut
10012 pOut [ O ] - Output buffer
10013
10014 RETURN VALUE:
10015 ULONG - Return code
10016 ===========================================================================*/
10017 ULONG PDSSetAGPSConfig(
10018 GOBIHANDLE handle,
10019 ULONG to,
10020 ULONG inLen,
10021 const BYTE * pIn,
10022 ULONG * pOutLen,
10023 BYTE * pOut )
10024 {
10025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10026 if (pAPI == 0)
10027 {
10028 return (ULONG)eGOBI_ERR_INTERNAL;
10029 }
10030
10031 ULONG svcID = 6;
10032 ULONG msgID = 47;
10033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10034 }
10035
10036 /*===========================================================================
10037 METHOD:
10038 PDSGetServiceAutoTrackingState
10039
10040 DESCRIPTION:
10041 The function sends 'PDS/Get Service Auto-Tracking State Request' (0x0030)
10042 and returns the response
10043
10044 PARAMETERS:
10045 handle [ I ] - Gobi interface handle
10046 to [ I ] - Timeout for transaction (in milliseconds)
10047 inLen [ I ] - Reserved for future use (set to 0)
10048 pIn [ I ] - Reserved for future use (set to 0)
10049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10050 contain, upon output the number of BYTEs copied
10051 to pOut
10052 pOut [ O ] - Output buffer
10053
10054 RETURN VALUE:
10055 ULONG - Return code
10056 ===========================================================================*/
10057 ULONG PDSGetServiceAutoTrackingState(
10058 GOBIHANDLE handle,
10059 ULONG to,
10060 ULONG inLen,
10061 const BYTE * pIn,
10062 ULONG * pOutLen,
10063 BYTE * pOut )
10064 {
10065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10066 if (pAPI == 0)
10067 {
10068 return (ULONG)eGOBI_ERR_INTERNAL;
10069 }
10070
10071 ULONG svcID = 6;
10072 ULONG msgID = 48;
10073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10074 }
10075
10076 /*===========================================================================
10077 METHOD:
10078 PDSSetServiceAutoTrackingState
10079
10080 DESCRIPTION:
10081 The function sends 'PDS/Set Service Auto-Tracking State Request' (0x0031)
10082 and returns the response
10083
10084 PARAMETERS:
10085 handle [ I ] - Gobi interface handle
10086 to [ I ] - Timeout for transaction (in milliseconds)
10087 inLen [ I ] - Length of input buffer
10088 pIn [ I ] - Input buffer
10089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10090 contain, upon output the number of BYTEs copied
10091 to pOut
10092 pOut [ O ] - Output buffer
10093
10094 RETURN VALUE:
10095 ULONG - Return code
10096 ===========================================================================*/
10097 ULONG PDSSetServiceAutoTrackingState(
10098 GOBIHANDLE handle,
10099 ULONG to,
10100 ULONG inLen,
10101 const BYTE * pIn,
10102 ULONG * pOutLen,
10103 BYTE * pOut )
10104 {
10105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10106 if (pAPI == 0)
10107 {
10108 return (ULONG)eGOBI_ERR_INTERNAL;
10109 }
10110
10111 ULONG svcID = 6;
10112 ULONG msgID = 49;
10113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10114 }
10115
10116 /*===========================================================================
10117 METHOD:
10118 PDSGetCOMPortAutoTrackingConfig
10119
10120 DESCRIPTION:
10121 The function sends 'PDS/Get COM Port Auto-Tracking Config Request' (0x0032)
10122 and returns the response
10123
10124 PARAMETERS:
10125 handle [ I ] - Gobi interface handle
10126 to [ I ] - Timeout for transaction (in milliseconds)
10127 inLen [ I ] - Reserved for future use (set to 0)
10128 pIn [ I ] - Reserved for future use (set to 0)
10129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10130 contain, upon output the number of BYTEs copied
10131 to pOut
10132 pOut [ O ] - Output buffer
10133
10134 RETURN VALUE:
10135 ULONG - Return code
10136 ===========================================================================*/
10137 ULONG PDSGetCOMPortAutoTrackingConfig(
10138 GOBIHANDLE handle,
10139 ULONG to,
10140 ULONG inLen,
10141 const BYTE * pIn,
10142 ULONG * pOutLen,
10143 BYTE * pOut )
10144 {
10145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10146 if (pAPI == 0)
10147 {
10148 return (ULONG)eGOBI_ERR_INTERNAL;
10149 }
10150
10151 ULONG svcID = 6;
10152 ULONG msgID = 50;
10153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10154 }
10155
10156 /*===========================================================================
10157 METHOD:
10158 PDSSetCOMPortAutoTrackingConfig
10159
10160 DESCRIPTION:
10161 The function sends 'PDS/Set COM Port Auto-Tracking Config Request' (0x0033)
10162 and returns the response
10163
10164 PARAMETERS:
10165 handle [ I ] - Gobi interface handle
10166 to [ I ] - Timeout for transaction (in milliseconds)
10167 inLen [ I ] - Length of input buffer
10168 pIn [ I ] - Input buffer
10169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10170 contain, upon output the number of BYTEs copied
10171 to pOut
10172 pOut [ O ] - Output buffer
10173
10174 RETURN VALUE:
10175 ULONG - Return code
10176 ===========================================================================*/
10177 ULONG PDSSetCOMPortAutoTrackingConfig(
10178 GOBIHANDLE handle,
10179 ULONG to,
10180 ULONG inLen,
10181 const BYTE * pIn,
10182 ULONG * pOutLen,
10183 BYTE * pOut )
10184 {
10185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10186 if (pAPI == 0)
10187 {
10188 return (ULONG)eGOBI_ERR_INTERNAL;
10189 }
10190
10191 ULONG svcID = 6;
10192 ULONG msgID = 51;
10193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10194 }
10195
10196 /*===========================================================================
10197 METHOD:
10198 PDSResetPDSData
10199
10200 DESCRIPTION:
10201 The function sends 'PDS/Reset PDS Data Request' (0x0034)
10202 and returns the response
10203
10204 PARAMETERS:
10205 handle [ I ] - Gobi interface handle
10206 to [ I ] - Timeout for transaction (in milliseconds)
10207 inLen [ I ] - Length of input buffer
10208 pIn [ I ] - Input buffer
10209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10210 contain, upon output the number of BYTEs copied
10211 to pOut
10212 pOut [ O ] - Output buffer
10213
10214 RETURN VALUE:
10215 ULONG - Return code
10216 ===========================================================================*/
10217 ULONG PDSResetPDSData(
10218 GOBIHANDLE handle,
10219 ULONG to,
10220 ULONG inLen,
10221 const BYTE * pIn,
10222 ULONG * pOutLen,
10223 BYTE * pOut )
10224 {
10225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10226 if (pAPI == 0)
10227 {
10228 return (ULONG)eGOBI_ERR_INTERNAL;
10229 }
10230
10231 ULONG svcID = 6;
10232 ULONG msgID = 52;
10233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10234 }
10235
10236 /*===========================================================================
10237 METHOD:
10238 PDSSinglePositionFix
10239
10240 DESCRIPTION:
10241 The function sends 'PDS/Single Position Fix Request' (0x0035)
10242 and returns the response
10243
10244 PARAMETERS:
10245 handle [ I ] - Gobi interface handle
10246 to [ I ] - Timeout for transaction (in milliseconds)
10247 inLen [ I ] - Length of input buffer
10248 pIn [ I ] - Input buffer
10249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10250 contain, upon output the number of BYTEs copied
10251 to pOut
10252 pOut [ O ] - Output buffer
10253
10254 RETURN VALUE:
10255 ULONG - Return code
10256 ===========================================================================*/
10257 ULONG PDSSinglePositionFix(
10258 GOBIHANDLE handle,
10259 ULONG to,
10260 ULONG inLen,
10261 const BYTE * pIn,
10262 ULONG * pOutLen,
10263 BYTE * pOut )
10264 {
10265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10266 if (pAPI == 0)
10267 {
10268 return (ULONG)eGOBI_ERR_INTERNAL;
10269 }
10270
10271 ULONG svcID = 6;
10272 ULONG msgID = 53;
10273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10274 }
10275
10276 /*===========================================================================
10277 METHOD:
10278 PDSGetServiceVersion
10279
10280 DESCRIPTION:
10281 The function sends 'PDS/Get Service Version Request' (0x0036)
10282 and returns the response
10283
10284 PARAMETERS:
10285 handle [ I ] - Gobi interface handle
10286 to [ I ] - Timeout for transaction (in milliseconds)
10287 inLen [ I ] - Reserved for future use (set to 0)
10288 pIn [ I ] - Reserved for future use (set to 0)
10289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10290 contain, upon output the number of BYTEs copied
10291 to pOut
10292 pOut [ O ] - Output buffer
10293
10294 RETURN VALUE:
10295 ULONG - Return code
10296 ===========================================================================*/
10297 ULONG PDSGetServiceVersion(
10298 GOBIHANDLE handle,
10299 ULONG to,
10300 ULONG inLen,
10301 const BYTE * pIn,
10302 ULONG * pOutLen,
10303 BYTE * pOut )
10304 {
10305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10306 if (pAPI == 0)
10307 {
10308 return (ULONG)eGOBI_ERR_INTERNAL;
10309 }
10310
10311 ULONG svcID = 6;
10312 ULONG msgID = 54;
10313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10314 }
10315
10316 /*===========================================================================
10317 METHOD:
10318 PDSInjectXTRAData
10319
10320 DESCRIPTION:
10321 The function sends 'PDS/Inject XTRA Data Request' (0x0037)
10322 and returns the response
10323
10324 PARAMETERS:
10325 handle [ I ] - Gobi interface handle
10326 to [ I ] - Timeout for transaction (in milliseconds)
10327 inLen [ I ] - Length of input buffer
10328 pIn [ I ] - Input buffer
10329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10330 contain, upon output the number of BYTEs copied
10331 to pOut
10332 pOut [ O ] - Output buffer
10333
10334 RETURN VALUE:
10335 ULONG - Return code
10336 ===========================================================================*/
10337 ULONG PDSInjectXTRAData(
10338 GOBIHANDLE handle,
10339 ULONG to,
10340 ULONG inLen,
10341 const BYTE * pIn,
10342 ULONG * pOutLen,
10343 BYTE * pOut )
10344 {
10345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10346 if (pAPI == 0)
10347 {
10348 return (ULONG)eGOBI_ERR_INTERNAL;
10349 }
10350
10351 ULONG svcID = 6;
10352 ULONG msgID = 55;
10353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10354 }
10355
10356 /*===========================================================================
10357 METHOD:
10358 PDSInjectPositionData
10359
10360 DESCRIPTION:
10361 The function sends 'PDS/Inject Position Data Request' (0x0038)
10362 and returns the response
10363
10364 PARAMETERS:
10365 handle [ I ] - Gobi interface handle
10366 to [ I ] - Timeout for transaction (in milliseconds)
10367 inLen [ I ] - Length of input buffer
10368 pIn [ I ] - Input buffer
10369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10370 contain, upon output the number of BYTEs copied
10371 to pOut
10372 pOut [ O ] - Output buffer
10373
10374 RETURN VALUE:
10375 ULONG - Return code
10376 ===========================================================================*/
10377 ULONG PDSInjectPositionData(
10378 GOBIHANDLE handle,
10379 ULONG to,
10380 ULONG inLen,
10381 const BYTE * pIn,
10382 ULONG * pOutLen,
10383 BYTE * pOut )
10384 {
10385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10386 if (pAPI == 0)
10387 {
10388 return (ULONG)eGOBI_ERR_INTERNAL;
10389 }
10390
10391 ULONG svcID = 6;
10392 ULONG msgID = 56;
10393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10394 }
10395
10396 /*===========================================================================
10397 METHOD:
10398 PDSInjectWiFiPositionData
10399
10400 DESCRIPTION:
10401 The function sends 'PDS/Inject Wi-Fi Position Data Request' (0x0039)
10402 and returns the response
10403
10404 PARAMETERS:
10405 handle [ I ] - Gobi interface handle
10406 to [ I ] - Timeout for transaction (in milliseconds)
10407 inLen [ I ] - Length of input buffer
10408 pIn [ I ] - Input buffer
10409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10410 contain, upon output the number of BYTEs copied
10411 to pOut
10412 pOut [ O ] - Output buffer
10413
10414 RETURN VALUE:
10415 ULONG - Return code
10416 ===========================================================================*/
10417 ULONG PDSInjectWiFiPositionData(
10418 GOBIHANDLE handle,
10419 ULONG to,
10420 ULONG inLen,
10421 const BYTE * pIn,
10422 ULONG * pOutLen,
10423 BYTE * pOut )
10424 {
10425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10426 if (pAPI == 0)
10427 {
10428 return (ULONG)eGOBI_ERR_INTERNAL;
10429 }
10430
10431 ULONG svcID = 6;
10432 ULONG msgID = 57;
10433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10434 }
10435
10436 /*===========================================================================
10437 METHOD:
10438 PDSGetSBASConfig
10439
10440 DESCRIPTION:
10441 The function sends 'PDS/Get SBAS Config Request' (0x003A)
10442 and returns the response
10443
10444 PARAMETERS:
10445 handle [ I ] - Gobi interface handle
10446 to [ I ] - Timeout for transaction (in milliseconds)
10447 inLen [ I ] - Reserved for future use (set to 0)
10448 pIn [ I ] - Reserved for future use (set to 0)
10449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10450 contain, upon output the number of BYTEs copied
10451 to pOut
10452 pOut [ O ] - Output buffer
10453
10454 RETURN VALUE:
10455 ULONG - Return code
10456 ===========================================================================*/
10457 ULONG PDSGetSBASConfig(
10458 GOBIHANDLE handle,
10459 ULONG to,
10460 ULONG inLen,
10461 const BYTE * pIn,
10462 ULONG * pOutLen,
10463 BYTE * pOut )
10464 {
10465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10466 if (pAPI == 0)
10467 {
10468 return (ULONG)eGOBI_ERR_INTERNAL;
10469 }
10470
10471 ULONG svcID = 6;
10472 ULONG msgID = 58;
10473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10474 }
10475
10476 /*===========================================================================
10477 METHOD:
10478 PDSSetSBASConfig
10479
10480 DESCRIPTION:
10481 The function sends 'PDS/Set SBAS Config Request' (0x003B)
10482 and returns the response
10483
10484 PARAMETERS:
10485 handle [ I ] - Gobi interface handle
10486 to [ I ] - Timeout for transaction (in milliseconds)
10487 inLen [ I ] - Length of input buffer
10488 pIn [ I ] - Input buffer
10489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10490 contain, upon output the number of BYTEs copied
10491 to pOut
10492 pOut [ O ] - Output buffer
10493
10494 RETURN VALUE:
10495 ULONG - Return code
10496 ===========================================================================*/
10497 ULONG PDSSetSBASConfig(
10498 GOBIHANDLE handle,
10499 ULONG to,
10500 ULONG inLen,
10501 const BYTE * pIn,
10502 ULONG * pOutLen,
10503 BYTE * pOut )
10504 {
10505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10506 if (pAPI == 0)
10507 {
10508 return (ULONG)eGOBI_ERR_INTERNAL;
10509 }
10510
10511 ULONG svcID = 6;
10512 ULONG msgID = 59;
10513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10514 }
10515
10516 /*===========================================================================
10517 METHOD:
10518 PDSSendNetworkInitiatedResponse
10519
10520 DESCRIPTION:
10521 The function sends 'PDS/Send Network Initiated Response Request' (0x003C)
10522 and returns the response
10523
10524 PARAMETERS:
10525 handle [ I ] - Gobi interface handle
10526 to [ I ] - Timeout for transaction (in milliseconds)
10527 inLen [ I ] - Length of input buffer
10528 pIn [ I ] - Input buffer
10529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10530 contain, upon output the number of BYTEs copied
10531 to pOut
10532 pOut [ O ] - Output buffer
10533
10534 RETURN VALUE:
10535 ULONG - Return code
10536 ===========================================================================*/
10537 ULONG PDSSendNetworkInitiatedResponse(
10538 GOBIHANDLE handle,
10539 ULONG to,
10540 ULONG inLen,
10541 const BYTE * pIn,
10542 ULONG * pOutLen,
10543 BYTE * pOut )
10544 {
10545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10546 if (pAPI == 0)
10547 {
10548 return (ULONG)eGOBI_ERR_INTERNAL;
10549 }
10550
10551 ULONG svcID = 6;
10552 ULONG msgID = 60;
10553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10554 }
10555
10556 /*===========================================================================
10557 METHOD:
10558 PDSInjectAbsoluteTime
10559
10560 DESCRIPTION:
10561 The function sends 'PDS/Inject Absolute Time Request' (0x003D)
10562 and returns the response
10563
10564 PARAMETERS:
10565 handle [ I ] - Gobi interface handle
10566 to [ I ] - Timeout for transaction (in milliseconds)
10567 inLen [ I ] - Length of input buffer
10568 pIn [ I ] - Input buffer
10569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10570 contain, upon output the number of BYTEs copied
10571 to pOut
10572 pOut [ O ] - Output buffer
10573
10574 RETURN VALUE:
10575 ULONG - Return code
10576 ===========================================================================*/
10577 ULONG PDSInjectAbsoluteTime(
10578 GOBIHANDLE handle,
10579 ULONG to,
10580 ULONG inLen,
10581 const BYTE * pIn,
10582 ULONG * pOutLen,
10583 BYTE * pOut )
10584 {
10585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10586 if (pAPI == 0)
10587 {
10588 return (ULONG)eGOBI_ERR_INTERNAL;
10589 }
10590
10591 ULONG svcID = 6;
10592 ULONG msgID = 61;
10593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10594 }
10595
10596 /*===========================================================================
10597 METHOD:
10598 PDSInjectEFSData
10599
10600 DESCRIPTION:
10601 The function sends 'PDS/Inject EFS Data Request' (0x003E)
10602 and returns the response
10603
10604 PARAMETERS:
10605 handle [ I ] - Gobi interface handle
10606 to [ I ] - Timeout for transaction (in milliseconds)
10607 inLen [ I ] - Length of input buffer
10608 pIn [ I ] - Input buffer
10609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10610 contain, upon output the number of BYTEs copied
10611 to pOut
10612 pOut [ O ] - Output buffer
10613
10614 RETURN VALUE:
10615 ULONG - Return code
10616 ===========================================================================*/
10617 ULONG PDSInjectEFSData(
10618 GOBIHANDLE handle,
10619 ULONG to,
10620 ULONG inLen,
10621 const BYTE * pIn,
10622 ULONG * pOutLen,
10623 BYTE * pOut )
10624 {
10625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10626 if (pAPI == 0)
10627 {
10628 return (ULONG)eGOBI_ERR_INTERNAL;
10629 }
10630
10631 ULONG svcID = 6;
10632 ULONG msgID = 62;
10633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10634 }
10635
10636 /*===========================================================================
10637 METHOD:
10638 PDSGetDPOConfig
10639
10640 DESCRIPTION:
10641 The function sends 'PDS/Get DPO Config Request' (0x003F)
10642 and returns the response
10643
10644 PARAMETERS:
10645 handle [ I ] - Gobi interface handle
10646 to [ I ] - Timeout for transaction (in milliseconds)
10647 inLen [ I ] - Reserved for future use (set to 0)
10648 pIn [ I ] - Reserved for future use (set to 0)
10649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10650 contain, upon output the number of BYTEs copied
10651 to pOut
10652 pOut [ O ] - Output buffer
10653
10654 RETURN VALUE:
10655 ULONG - Return code
10656 ===========================================================================*/
10657 ULONG PDSGetDPOConfig(
10658 GOBIHANDLE handle,
10659 ULONG to,
10660 ULONG inLen,
10661 const BYTE * pIn,
10662 ULONG * pOutLen,
10663 BYTE * pOut )
10664 {
10665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10666 if (pAPI == 0)
10667 {
10668 return (ULONG)eGOBI_ERR_INTERNAL;
10669 }
10670
10671 ULONG svcID = 6;
10672 ULONG msgID = 63;
10673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10674 }
10675
10676 /*===========================================================================
10677 METHOD:
10678 PDSSetDPOConfig
10679
10680 DESCRIPTION:
10681 The function sends 'PDS/Set DPO Config Request' (0x0040)
10682 and returns the response
10683
10684 PARAMETERS:
10685 handle [ I ] - Gobi interface handle
10686 to [ I ] - Timeout for transaction (in milliseconds)
10687 inLen [ I ] - Length of input buffer
10688 pIn [ I ] - Input buffer
10689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10690 contain, upon output the number of BYTEs copied
10691 to pOut
10692 pOut [ O ] - Output buffer
10693
10694 RETURN VALUE:
10695 ULONG - Return code
10696 ===========================================================================*/
10697 ULONG PDSSetDPOConfig(
10698 GOBIHANDLE handle,
10699 ULONG to,
10700 ULONG inLen,
10701 const BYTE * pIn,
10702 ULONG * pOutLen,
10703 BYTE * pOut )
10704 {
10705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10706 if (pAPI == 0)
10707 {
10708 return (ULONG)eGOBI_ERR_INTERNAL;
10709 }
10710
10711 ULONG svcID = 6;
10712 ULONG msgID = 64;
10713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10714 }
10715
10716 /*===========================================================================
10717 METHOD:
10718 PDSGetODPConfig
10719
10720 DESCRIPTION:
10721 The function sends 'PDS/Get ODP Config Request' (0x0041)
10722 and returns the response
10723
10724 PARAMETERS:
10725 handle [ I ] - Gobi interface handle
10726 to [ I ] - Timeout for transaction (in milliseconds)
10727 inLen [ I ] - Reserved for future use (set to 0)
10728 pIn [ I ] - Reserved for future use (set to 0)
10729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10730 contain, upon output the number of BYTEs copied
10731 to pOut
10732 pOut [ O ] - Output buffer
10733
10734 RETURN VALUE:
10735 ULONG - Return code
10736 ===========================================================================*/
10737 ULONG PDSGetODPConfig(
10738 GOBIHANDLE handle,
10739 ULONG to,
10740 ULONG inLen,
10741 const BYTE * pIn,
10742 ULONG * pOutLen,
10743 BYTE * pOut )
10744 {
10745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10746 if (pAPI == 0)
10747 {
10748 return (ULONG)eGOBI_ERR_INTERNAL;
10749 }
10750
10751 ULONG svcID = 6;
10752 ULONG msgID = 65;
10753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10754 }
10755
10756 /*===========================================================================
10757 METHOD:
10758 PDSSetODPConfig
10759
10760 DESCRIPTION:
10761 The function sends 'PDS/Set ODP Config Request' (0x0042)
10762 and returns the response
10763
10764 PARAMETERS:
10765 handle [ I ] - Gobi interface handle
10766 to [ I ] - Timeout for transaction (in milliseconds)
10767 inLen [ I ] - Length of input buffer
10768 pIn [ I ] - Input buffer
10769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10770 contain, upon output the number of BYTEs copied
10771 to pOut
10772 pOut [ O ] - Output buffer
10773
10774 RETURN VALUE:
10775 ULONG - Return code
10776 ===========================================================================*/
10777 ULONG PDSSetODPConfig(
10778 GOBIHANDLE handle,
10779 ULONG to,
10780 ULONG inLen,
10781 const BYTE * pIn,
10782 ULONG * pOutLen,
10783 BYTE * pOut )
10784 {
10785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10786 if (pAPI == 0)
10787 {
10788 return (ULONG)eGOBI_ERR_INTERNAL;
10789 }
10790
10791 ULONG svcID = 6;
10792 ULONG msgID = 66;
10793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10794 }
10795
10796 /*===========================================================================
10797 METHOD:
10798 PDSCancelSinglePositionFix
10799
10800 DESCRIPTION:
10801 The function sends 'PDS/Cancel Single Position Fix Request' (0x0043)
10802 and returns the response
10803
10804 PARAMETERS:
10805 handle [ I ] - Gobi interface handle
10806 to [ I ] - Timeout for transaction (in milliseconds)
10807 inLen [ I ] - Reserved for future use (set to 0)
10808 pIn [ I ] - Reserved for future use (set to 0)
10809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10810 contain, upon output the number of BYTEs copied
10811 to pOut
10812 pOut [ O ] - Output buffer
10813
10814 RETURN VALUE:
10815 ULONG - Return code
10816 ===========================================================================*/
10817 ULONG PDSCancelSinglePositionFix(
10818 GOBIHANDLE handle,
10819 ULONG to,
10820 ULONG inLen,
10821 const BYTE * pIn,
10822 ULONG * pOutLen,
10823 BYTE * pOut )
10824 {
10825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10826 if (pAPI == 0)
10827 {
10828 return (ULONG)eGOBI_ERR_INTERNAL;
10829 }
10830
10831 ULONG svcID = 6;
10832 ULONG msgID = 67;
10833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10834 }
10835
10836 /*===========================================================================
10837 METHOD:
10838 PDSGetGPSState
10839
10840 DESCRIPTION:
10841 The function sends 'PDS/Get GPS State Request' (0x0044)
10842 and returns the response
10843
10844 PARAMETERS:
10845 handle [ I ] - Gobi interface handle
10846 to [ I ] - Timeout for transaction (in milliseconds)
10847 inLen [ I ] - Reserved for future use (set to 0)
10848 pIn [ I ] - Reserved for future use (set to 0)
10849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10850 contain, upon output the number of BYTEs copied
10851 to pOut
10852 pOut [ O ] - Output buffer
10853
10854 RETURN VALUE:
10855 ULONG - Return code
10856 ===========================================================================*/
10857 ULONG PDSGetGPSState(
10858 GOBIHANDLE handle,
10859 ULONG to,
10860 ULONG inLen,
10861 const BYTE * pIn,
10862 ULONG * pOutLen,
10863 BYTE * pOut )
10864 {
10865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10866 if (pAPI == 0)
10867 {
10868 return (ULONG)eGOBI_ERR_INTERNAL;
10869 }
10870
10871 ULONG svcID = 6;
10872 ULONG msgID = 68;
10873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10874 }
10875
10876 /*===========================================================================
10877 METHOD:
10878 PDSSetPPMEventReport
10879
10880 DESCRIPTION:
10881 The function sends 'PDS/Set PPM Event Report Request' (0x0045)
10882 and returns the response
10883
10884 PARAMETERS:
10885 handle [ I ] - Gobi interface handle
10886 to [ I ] - Timeout for transaction (in milliseconds)
10887 inLen [ I ] - Length of input buffer
10888 pIn [ I ] - Input buffer
10889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10890 contain, upon output the number of BYTEs copied
10891 to pOut
10892 pOut [ O ] - Output buffer
10893
10894 RETURN VALUE:
10895 ULONG - Return code
10896 ===========================================================================*/
10897 ULONG PDSSetPPMEventReport(
10898 GOBIHANDLE handle,
10899 ULONG to,
10900 ULONG inLen,
10901 const BYTE * pIn,
10902 ULONG * pOutLen,
10903 BYTE * pOut )
10904 {
10905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10906 if (pAPI == 0)
10907 {
10908 return (ULONG)eGOBI_ERR_INTERNAL;
10909 }
10910
10911 ULONG svcID = 6;
10912 ULONG msgID = 69;
10913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10914 }
10915
10916 /*===========================================================================
10917 METHOD:
10918 PDSSetSPIStreamingReport
10919
10920 DESCRIPTION:
10921 The function sends 'PDS/Set SPI Streaming Report Request' (0x0046)
10922 and returns the response
10923
10924 PARAMETERS:
10925 handle [ I ] - Gobi interface handle
10926 to [ I ] - Timeout for transaction (in milliseconds)
10927 inLen [ I ] - Length of input buffer
10928 pIn [ I ] - Input buffer
10929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10930 contain, upon output the number of BYTEs copied
10931 to pOut
10932 pOut [ O ] - Output buffer
10933
10934 RETURN VALUE:
10935 ULONG - Return code
10936 ===========================================================================*/
10937 ULONG PDSSetSPIStreamingReport(
10938 GOBIHANDLE handle,
10939 ULONG to,
10940 ULONG inLen,
10941 const BYTE * pIn,
10942 ULONG * pOutLen,
10943 BYTE * pOut )
10944 {
10945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10946 if (pAPI == 0)
10947 {
10948 return (ULONG)eGOBI_ERR_INTERNAL;
10949 }
10950
10951 ULONG svcID = 6;
10952 ULONG msgID = 70;
10953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10954 }
10955
10956 /*===========================================================================
10957 METHOD:
10958 PDSSetSPIStatus
10959
10960 DESCRIPTION:
10961 The function sends 'PDS/Set SPI Status Request' (0x0047)
10962 and returns the response
10963
10964 PARAMETERS:
10965 handle [ I ] - Gobi interface handle
10966 to [ I ] - Timeout for transaction (in milliseconds)
10967 inLen [ I ] - Length of input buffer
10968 pIn [ I ] - Input buffer
10969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
10970 contain, upon output the number of BYTEs copied
10971 to pOut
10972 pOut [ O ] - Output buffer
10973
10974 RETURN VALUE:
10975 ULONG - Return code
10976 ===========================================================================*/
10977 ULONG PDSSetSPIStatus(
10978 GOBIHANDLE handle,
10979 ULONG to,
10980 ULONG inLen,
10981 const BYTE * pIn,
10982 ULONG * pOutLen,
10983 BYTE * pOut )
10984 {
10985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
10986 if (pAPI == 0)
10987 {
10988 return (ULONG)eGOBI_ERR_INTERNAL;
10989 }
10990
10991 ULONG svcID = 6;
10992 ULONG msgID = 71;
10993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
10994 }
10995
10996 /*===========================================================================
10997 METHOD:
10998 PDSSetPPMReportingState
10999
11000 DESCRIPTION:
11001 The function sends 'PDS/Set PPM Reporting State Request' (0x0048)
11002 and returns the response
11003
11004 PARAMETERS:
11005 handle [ I ] - Gobi interface handle
11006 to [ I ] - Timeout for transaction (in milliseconds)
11007 inLen [ I ] - Length of input buffer
11008 pIn [ I ] - Input buffer
11009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11010 contain, upon output the number of BYTEs copied
11011 to pOut
11012 pOut [ O ] - Output buffer
11013
11014 RETURN VALUE:
11015 ULONG - Return code
11016 ===========================================================================*/
11017 ULONG PDSSetPPMReportingState(
11018 GOBIHANDLE handle,
11019 ULONG to,
11020 ULONG inLen,
11021 const BYTE * pIn,
11022 ULONG * pOutLen,
11023 BYTE * pOut )
11024 {
11025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11026 if (pAPI == 0)
11027 {
11028 return (ULONG)eGOBI_ERR_INTERNAL;
11029 }
11030
11031 ULONG svcID = 6;
11032 ULONG msgID = 72;
11033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11034 }
11035
11036 /*===========================================================================
11037 METHOD:
11038 PDSForceReceiverOff
11039
11040 DESCRIPTION:
11041 The function sends 'PDS/Force Receiver Off Request' (0x0049)
11042 and returns the response
11043
11044 PARAMETERS:
11045 handle [ I ] - Gobi interface handle
11046 to [ I ] - Timeout for transaction (in milliseconds)
11047 inLen [ I ] - Length of input buffer
11048 pIn [ I ] - Input buffer
11049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11050 contain, upon output the number of BYTEs copied
11051 to pOut
11052 pOut [ O ] - Output buffer
11053
11054 RETURN VALUE:
11055 ULONG - Return code
11056 ===========================================================================*/
11057 ULONG PDSForceReceiverOff(
11058 GOBIHANDLE handle,
11059 ULONG to,
11060 ULONG inLen,
11061 const BYTE * pIn,
11062 ULONG * pOutLen,
11063 BYTE * pOut )
11064 {
11065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11066 if (pAPI == 0)
11067 {
11068 return (ULONG)eGOBI_ERR_INTERNAL;
11069 }
11070
11071 ULONG svcID = 6;
11072 ULONG msgID = 73;
11073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11074 }
11075
11076 /*===========================================================================
11077 METHOD:
11078 PDSGetPositionMethodsState
11079
11080 DESCRIPTION:
11081 The function sends 'PDS/Get Position Methods State Request' (0x0050)
11082 and returns the response
11083
11084 PARAMETERS:
11085 handle [ I ] - Gobi interface handle
11086 to [ I ] - Timeout for transaction (in milliseconds)
11087 inLen [ I ] - Reserved for future use (set to 0)
11088 pIn [ I ] - Reserved for future use (set to 0)
11089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11090 contain, upon output the number of BYTEs copied
11091 to pOut
11092 pOut [ O ] - Output buffer
11093
11094 RETURN VALUE:
11095 ULONG - Return code
11096 ===========================================================================*/
11097 ULONG PDSGetPositionMethodsState(
11098 GOBIHANDLE handle,
11099 ULONG to,
11100 ULONG inLen,
11101 const BYTE * pIn,
11102 ULONG * pOutLen,
11103 BYTE * pOut )
11104 {
11105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11106 if (pAPI == 0)
11107 {
11108 return (ULONG)eGOBI_ERR_INTERNAL;
11109 }
11110
11111 ULONG svcID = 6;
11112 ULONG msgID = 80;
11113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11114 }
11115
11116 /*===========================================================================
11117 METHOD:
11118 PDSSetPositionMethodsState
11119
11120 DESCRIPTION:
11121 The function sends 'PDS/Set Position Methods State Request' (0x0051)
11122 and returns the response
11123
11124 PARAMETERS:
11125 handle [ I ] - Gobi interface handle
11126 to [ I ] - Timeout for transaction (in milliseconds)
11127 inLen [ I ] - Length of input buffer
11128 pIn [ I ] - Input buffer
11129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11130 contain, upon output the number of BYTEs copied
11131 to pOut
11132 pOut [ O ] - Output buffer
11133
11134 RETURN VALUE:
11135 ULONG - Return code
11136 ===========================================================================*/
11137 ULONG PDSSetPositionMethodsState(
11138 GOBIHANDLE handle,
11139 ULONG to,
11140 ULONG inLen,
11141 const BYTE * pIn,
11142 ULONG * pOutLen,
11143 BYTE * pOut )
11144 {
11145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11146 if (pAPI == 0)
11147 {
11148 return (ULONG)eGOBI_ERR_INTERNAL;
11149 }
11150
11151 ULONG svcID = 6;
11152 ULONG msgID = 81;
11153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11154 }
11155
11156 /*===========================================================================
11157 METHOD:
11158 PDSInjectSensorData
11159
11160 DESCRIPTION:
11161 The function sends 'PDS/Inject Sensor Data Request' (0x0052)
11162 and returns the response
11163
11164 PARAMETERS:
11165 handle [ I ] - Gobi interface handle
11166 to [ I ] - Timeout for transaction (in milliseconds)
11167 inLen [ I ] - Length of input buffer
11168 pIn [ I ] - Input buffer
11169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11170 contain, upon output the number of BYTEs copied
11171 to pOut
11172 pOut [ O ] - Output buffer
11173
11174 RETURN VALUE:
11175 ULONG - Return code
11176 ===========================================================================*/
11177 ULONG PDSInjectSensorData(
11178 GOBIHANDLE handle,
11179 ULONG to,
11180 ULONG inLen,
11181 const BYTE * pIn,
11182 ULONG * pOutLen,
11183 BYTE * pOut )
11184 {
11185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11186 if (pAPI == 0)
11187 {
11188 return (ULONG)eGOBI_ERR_INTERNAL;
11189 }
11190
11191 ULONG svcID = 6;
11192 ULONG msgID = 82;
11193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11194 }
11195
11196 /*===========================================================================
11197 METHOD:
11198 PDSInjectTimeSyncData
11199
11200 DESCRIPTION:
11201 The function sends 'PDS/Inject Time Sync Data Request' (0x0053)
11202 and returns the response
11203
11204 PARAMETERS:
11205 handle [ I ] - Gobi interface handle
11206 to [ I ] - Timeout for transaction (in milliseconds)
11207 inLen [ I ] - Length of input buffer
11208 pIn [ I ] - Input buffer
11209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11210 contain, upon output the number of BYTEs copied
11211 to pOut
11212 pOut [ O ] - Output buffer
11213
11214 RETURN VALUE:
11215 ULONG - Return code
11216 ===========================================================================*/
11217 ULONG PDSInjectTimeSyncData(
11218 GOBIHANDLE handle,
11219 ULONG to,
11220 ULONG inLen,
11221 const BYTE * pIn,
11222 ULONG * pOutLen,
11223 BYTE * pOut )
11224 {
11225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11226 if (pAPI == 0)
11227 {
11228 return (ULONG)eGOBI_ERR_INTERNAL;
11229 }
11230
11231 ULONG svcID = 6;
11232 ULONG msgID = 83;
11233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11234 }
11235
11236 /*===========================================================================
11237 METHOD:
11238 PDSGetSensorConfig
11239
11240 DESCRIPTION:
11241 The function sends 'PDS/Get Sensor Config Request' (0x0054)
11242 and returns the response
11243
11244 PARAMETERS:
11245 handle [ I ] - Gobi interface handle
11246 to [ I ] - Timeout for transaction (in milliseconds)
11247 inLen [ I ] - Reserved for future use (set to 0)
11248 pIn [ I ] - Reserved for future use (set to 0)
11249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11250 contain, upon output the number of BYTEs copied
11251 to pOut
11252 pOut [ O ] - Output buffer
11253
11254 RETURN VALUE:
11255 ULONG - Return code
11256 ===========================================================================*/
11257 ULONG PDSGetSensorConfig(
11258 GOBIHANDLE handle,
11259 ULONG to,
11260 ULONG inLen,
11261 const BYTE * pIn,
11262 ULONG * pOutLen,
11263 BYTE * pOut )
11264 {
11265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11266 if (pAPI == 0)
11267 {
11268 return (ULONG)eGOBI_ERR_INTERNAL;
11269 }
11270
11271 ULONG svcID = 6;
11272 ULONG msgID = 84;
11273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11274 }
11275
11276 /*===========================================================================
11277 METHOD:
11278 PDSSetSensorConfig
11279
11280 DESCRIPTION:
11281 The function sends 'PDS/Set Sensor Config Request' (0x0055)
11282 and returns the response
11283
11284 PARAMETERS:
11285 handle [ I ] - Gobi interface handle
11286 to [ I ] - Timeout for transaction (in milliseconds)
11287 inLen [ I ] - Length of input buffer
11288 pIn [ I ] - Input buffer
11289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11290 contain, upon output the number of BYTEs copied
11291 to pOut
11292 pOut [ O ] - Output buffer
11293
11294 RETURN VALUE:
11295 ULONG - Return code
11296 ===========================================================================*/
11297 ULONG PDSSetSensorConfig(
11298 GOBIHANDLE handle,
11299 ULONG to,
11300 ULONG inLen,
11301 const BYTE * pIn,
11302 ULONG * pOutLen,
11303 BYTE * pOut )
11304 {
11305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11306 if (pAPI == 0)
11307 {
11308 return (ULONG)eGOBI_ERR_INTERNAL;
11309 }
11310
11311 ULONG svcID = 6;
11312 ULONG msgID = 85;
11313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11314 }
11315
11316 /*===========================================================================
11317 METHOD:
11318 PDSGetSensorNavigation
11319
11320 DESCRIPTION:
11321 The function sends 'PDS/Get Sensor Navigation Request' (0x0056)
11322 and returns the response
11323
11324 PARAMETERS:
11325 handle [ I ] - Gobi interface handle
11326 to [ I ] - Timeout for transaction (in milliseconds)
11327 inLen [ I ] - Reserved for future use (set to 0)
11328 pIn [ I ] - Reserved for future use (set to 0)
11329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11330 contain, upon output the number of BYTEs copied
11331 to pOut
11332 pOut [ O ] - Output buffer
11333
11334 RETURN VALUE:
11335 ULONG - Return code
11336 ===========================================================================*/
11337 ULONG PDSGetSensorNavigation(
11338 GOBIHANDLE handle,
11339 ULONG to,
11340 ULONG inLen,
11341 const BYTE * pIn,
11342 ULONG * pOutLen,
11343 BYTE * pOut )
11344 {
11345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11346 if (pAPI == 0)
11347 {
11348 return (ULONG)eGOBI_ERR_INTERNAL;
11349 }
11350
11351 ULONG svcID = 6;
11352 ULONG msgID = 86;
11353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11354 }
11355
11356 /*===========================================================================
11357 METHOD:
11358 PDSSetNavigationConfig
11359
11360 DESCRIPTION:
11361 The function sends 'PDS/Set Navigation Config Request' (0x0057)
11362 and returns the response
11363
11364 PARAMETERS:
11365 handle [ I ] - Gobi interface handle
11366 to [ I ] - Timeout for transaction (in milliseconds)
11367 inLen [ I ] - Length of input buffer
11368 pIn [ I ] - Input buffer
11369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11370 contain, upon output the number of BYTEs copied
11371 to pOut
11372 pOut [ O ] - Output buffer
11373
11374 RETURN VALUE:
11375 ULONG - Return code
11376 ===========================================================================*/
11377 ULONG PDSSetNavigationConfig(
11378 GOBIHANDLE handle,
11379 ULONG to,
11380 ULONG inLen,
11381 const BYTE * pIn,
11382 ULONG * pOutLen,
11383 BYTE * pOut )
11384 {
11385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11386 if (pAPI == 0)
11387 {
11388 return (ULONG)eGOBI_ERR_INTERNAL;
11389 }
11390
11391 ULONG svcID = 6;
11392 ULONG msgID = 87;
11393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11394 }
11395
11396 /*===========================================================================
11397 METHOD:
11398 PDSSetWLANBlanking
11399
11400 DESCRIPTION:
11401 The function sends 'PDS/Set WLAN Blanking Request' (0x005A)
11402 and returns the response
11403
11404 PARAMETERS:
11405 handle [ I ] - Gobi interface handle
11406 to [ I ] - Timeout for transaction (in milliseconds)
11407 inLen [ I ] - Length of input buffer
11408 pIn [ I ] - Input buffer
11409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11410 contain, upon output the number of BYTEs copied
11411 to pOut
11412 pOut [ O ] - Output buffer
11413
11414 RETURN VALUE:
11415 ULONG - Return code
11416 ===========================================================================*/
11417 ULONG PDSSetWLANBlanking(
11418 GOBIHANDLE handle,
11419 ULONG to,
11420 ULONG inLen,
11421 const BYTE * pIn,
11422 ULONG * pOutLen,
11423 BYTE * pOut )
11424 {
11425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11426 if (pAPI == 0)
11427 {
11428 return (ULONG)eGOBI_ERR_INTERNAL;
11429 }
11430
11431 ULONG svcID = 6;
11432 ULONG msgID = 90;
11433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11434 }
11435
11436 /*===========================================================================
11437 METHOD:
11438 PDSSetSecurityChallengeReport
11439
11440 DESCRIPTION:
11441 The function sends 'PDS/Set Security Challenge Report Request' (0x005B)
11442 and returns the response
11443
11444 PARAMETERS:
11445 handle [ I ] - Gobi interface handle
11446 to [ I ] - Timeout for transaction (in milliseconds)
11447 inLen [ I ] - Length of input buffer
11448 pIn [ I ] - Input buffer
11449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11450 contain, upon output the number of BYTEs copied
11451 to pOut
11452 pOut [ O ] - Output buffer
11453
11454 RETURN VALUE:
11455 ULONG - Return code
11456 ===========================================================================*/
11457 ULONG PDSSetSecurityChallengeReport(
11458 GOBIHANDLE handle,
11459 ULONG to,
11460 ULONG inLen,
11461 const BYTE * pIn,
11462 ULONG * pOutLen,
11463 BYTE * pOut )
11464 {
11465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11466 if (pAPI == 0)
11467 {
11468 return (ULONG)eGOBI_ERR_INTERNAL;
11469 }
11470
11471 ULONG svcID = 6;
11472 ULONG msgID = 91;
11473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11474 }
11475
11476 /*===========================================================================
11477 METHOD:
11478 PDSSetSecurityChallenge
11479
11480 DESCRIPTION:
11481 The function sends 'PDS/Set Security Challenge Request' (0x005C)
11482 and returns the response
11483
11484 PARAMETERS:
11485 handle [ I ] - Gobi interface handle
11486 to [ I ] - Timeout for transaction (in milliseconds)
11487 inLen [ I ] - Length of input buffer
11488 pIn [ I ] - Input buffer
11489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11490 contain, upon output the number of BYTEs copied
11491 to pOut
11492 pOut [ O ] - Output buffer
11493
11494 RETURN VALUE:
11495 ULONG - Return code
11496 ===========================================================================*/
11497 ULONG PDSSetSecurityChallenge(
11498 GOBIHANDLE handle,
11499 ULONG to,
11500 ULONG inLen,
11501 const BYTE * pIn,
11502 ULONG * pOutLen,
11503 BYTE * pOut )
11504 {
11505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11506 if (pAPI == 0)
11507 {
11508 return (ULONG)eGOBI_ERR_INTERNAL;
11509 }
11510
11511 ULONG svcID = 6;
11512 ULONG msgID = 92;
11513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11514 }
11515
11516 /*===========================================================================
11517 METHOD:
11518 PDSGetSecurityEncryptionConfig
11519
11520 DESCRIPTION:
11521 The function sends 'PDS/Get Security Encryption Config Request' (0x005D)
11522 and returns the response
11523
11524 PARAMETERS:
11525 handle [ I ] - Gobi interface handle
11526 to [ I ] - Timeout for transaction (in milliseconds)
11527 inLen [ I ] - Reserved for future use (set to 0)
11528 pIn [ I ] - Reserved for future use (set to 0)
11529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11530 contain, upon output the number of BYTEs copied
11531 to pOut
11532 pOut [ O ] - Output buffer
11533
11534 RETURN VALUE:
11535 ULONG - Return code
11536 ===========================================================================*/
11537 ULONG PDSGetSecurityEncryptionConfig(
11538 GOBIHANDLE handle,
11539 ULONG to,
11540 ULONG inLen,
11541 const BYTE * pIn,
11542 ULONG * pOutLen,
11543 BYTE * pOut )
11544 {
11545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11546 if (pAPI == 0)
11547 {
11548 return (ULONG)eGOBI_ERR_INTERNAL;
11549 }
11550
11551 ULONG svcID = 6;
11552 ULONG msgID = 93;
11553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11554 }
11555
11556 /*===========================================================================
11557 METHOD:
11558 PDSSetSecurityUpdateRate
11559
11560 DESCRIPTION:
11561 The function sends 'PDS/Set Security Update Rate Request' (0x005E)
11562 and returns the response
11563
11564 PARAMETERS:
11565 handle [ I ] - Gobi interface handle
11566 to [ I ] - Timeout for transaction (in milliseconds)
11567 inLen [ I ] - Length of input buffer
11568 pIn [ I ] - Input buffer
11569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11570 contain, upon output the number of BYTEs copied
11571 to pOut
11572 pOut [ O ] - Output buffer
11573
11574 RETURN VALUE:
11575 ULONG - Return code
11576 ===========================================================================*/
11577 ULONG PDSSetSecurityUpdateRate(
11578 GOBIHANDLE handle,
11579 ULONG to,
11580 ULONG inLen,
11581 const BYTE * pIn,
11582 ULONG * pOutLen,
11583 BYTE * pOut )
11584 {
11585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11586 if (pAPI == 0)
11587 {
11588 return (ULONG)eGOBI_ERR_INTERNAL;
11589 }
11590
11591 ULONG svcID = 6;
11592 ULONG msgID = 94;
11593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11594 }
11595
11596 /*===========================================================================
11597 METHOD:
11598 PDSSetCellDatabaseControl
11599
11600 DESCRIPTION:
11601 The function sends 'PDS/Set Cell Database Control Request' (0x005F)
11602 and returns the response
11603
11604 PARAMETERS:
11605 handle [ I ] - Gobi interface handle
11606 to [ I ] - Timeout for transaction (in milliseconds)
11607 inLen [ I ] - Length of input buffer
11608 pIn [ I ] - Input buffer
11609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11610 contain, upon output the number of BYTEs copied
11611 to pOut
11612 pOut [ O ] - Output buffer
11613
11614 RETURN VALUE:
11615 ULONG - Return code
11616 ===========================================================================*/
11617 ULONG PDSSetCellDatabaseControl(
11618 GOBIHANDLE handle,
11619 ULONG to,
11620 ULONG inLen,
11621 const BYTE * pIn,
11622 ULONG * pOutLen,
11623 BYTE * pOut )
11624 {
11625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11626 if (pAPI == 0)
11627 {
11628 return (ULONG)eGOBI_ERR_INTERNAL;
11629 }
11630
11631 ULONG svcID = 6;
11632 ULONG msgID = 95;
11633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11634 }
11635
11636 /*===========================================================================
11637 METHOD:
11638 PDSInjectMotionData
11639
11640 DESCRIPTION:
11641 The function sends 'PDS/Inject Motion Data Request' (0x0061)
11642 and returns the response
11643
11644 PARAMETERS:
11645 handle [ I ] - Gobi interface handle
11646 to [ I ] - Timeout for transaction (in milliseconds)
11647 inLen [ I ] - Length of input buffer
11648 pIn [ I ] - Input buffer
11649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11650 contain, upon output the number of BYTEs copied
11651 to pOut
11652 pOut [ O ] - Output buffer
11653
11654 RETURN VALUE:
11655 ULONG - Return code
11656 ===========================================================================*/
11657 ULONG PDSInjectMotionData(
11658 GOBIHANDLE handle,
11659 ULONG to,
11660 ULONG inLen,
11661 const BYTE * pIn,
11662 ULONG * pOutLen,
11663 BYTE * pOut )
11664 {
11665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11666 if (pAPI == 0)
11667 {
11668 return (ULONG)eGOBI_ERR_INTERNAL;
11669 }
11670
11671 ULONG svcID = 6;
11672 ULONG msgID = 97;
11673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11674 }
11675
11676 /*===========================================================================
11677 METHOD:
11678 PDSSetGNSSEngineErrorRecoveryReport
11679
11680 DESCRIPTION:
11681 The function sends 'PDS/Set GNSS Engine Error Recovery Report Request' (0x0062)
11682 and returns the response
11683
11684 PARAMETERS:
11685 handle [ I ] - Gobi interface handle
11686 to [ I ] - Timeout for transaction (in milliseconds)
11687 inLen [ I ] - Length of input buffer
11688 pIn [ I ] - Input buffer
11689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11690 contain, upon output the number of BYTEs copied
11691 to pOut
11692 pOut [ O ] - Output buffer
11693
11694 RETURN VALUE:
11695 ULONG - Return code
11696 ===========================================================================*/
11697 ULONG PDSSetGNSSEngineErrorRecoveryReport(
11698 GOBIHANDLE handle,
11699 ULONG to,
11700 ULONG inLen,
11701 const BYTE * pIn,
11702 ULONG * pOutLen,
11703 BYTE * pOut )
11704 {
11705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11706 if (pAPI == 0)
11707 {
11708 return (ULONG)eGOBI_ERR_INTERNAL;
11709 }
11710
11711 ULONG svcID = 6;
11712 ULONG msgID = 98;
11713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11714 }
11715
11716 /*===========================================================================
11717 METHOD:
11718 PDSResetLocationService
11719
11720 DESCRIPTION:
11721 The function sends 'PDS/Reset Location Service Request' (0x0063)
11722 and returns the response
11723
11724 PARAMETERS:
11725 handle [ I ] - Gobi interface handle
11726 to [ I ] - Timeout for transaction (in milliseconds)
11727 inLen [ I ] - Reserved for future use (set to 0)
11728 pIn [ I ] - Reserved for future use (set to 0)
11729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11730 contain, upon output the number of BYTEs copied
11731 to pOut
11732 pOut [ O ] - Output buffer
11733
11734 RETURN VALUE:
11735 ULONG - Return code
11736 ===========================================================================*/
11737 ULONG PDSResetLocationService(
11738 GOBIHANDLE handle,
11739 ULONG to,
11740 ULONG inLen,
11741 const BYTE * pIn,
11742 ULONG * pOutLen,
11743 BYTE * pOut )
11744 {
11745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11746 if (pAPI == 0)
11747 {
11748 return (ULONG)eGOBI_ERR_INTERNAL;
11749 }
11750
11751 ULONG svcID = 6;
11752 ULONG msgID = 99;
11753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11754 }
11755
11756 /*===========================================================================
11757 METHOD:
11758 PDSInjectTestData
11759
11760 DESCRIPTION:
11761 The function sends 'PDS/Inject Test Data Request' (0x0064)
11762 and returns the response
11763
11764 PARAMETERS:
11765 handle [ I ] - Gobi interface handle
11766 to [ I ] - Timeout for transaction (in milliseconds)
11767 inLen [ I ] - Length of input buffer
11768 pIn [ I ] - Input buffer
11769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11770 contain, upon output the number of BYTEs copied
11771 to pOut
11772 pOut [ O ] - Output buffer
11773
11774 RETURN VALUE:
11775 ULONG - Return code
11776 ===========================================================================*/
11777 ULONG PDSInjectTestData(
11778 GOBIHANDLE handle,
11779 ULONG to,
11780 ULONG inLen,
11781 const BYTE * pIn,
11782 ULONG * pOutLen,
11783 BYTE * pOut )
11784 {
11785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11786 if (pAPI == 0)
11787 {
11788 return (ULONG)eGOBI_ERR_INTERNAL;
11789 }
11790
11791 ULONG svcID = 6;
11792 ULONG msgID = 100;
11793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11794 }
11795
11796 /*===========================================================================
11797 METHOD:
11798 PDSSetGNSSRFConfig
11799
11800 DESCRIPTION:
11801 The function sends 'PDS/Set GNSS RF Config Request' (0x0065)
11802 and returns the response
11803
11804 PARAMETERS:
11805 handle [ I ] - Gobi interface handle
11806 to [ I ] - Timeout for transaction (in milliseconds)
11807 inLen [ I ] - Length of input buffer
11808 pIn [ I ] - Input buffer
11809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11810 contain, upon output the number of BYTEs copied
11811 to pOut
11812 pOut [ O ] - Output buffer
11813
11814 RETURN VALUE:
11815 ULONG - Return code
11816 ===========================================================================*/
11817 ULONG PDSSetGNSSRFConfig(
11818 GOBIHANDLE handle,
11819 ULONG to,
11820 ULONG inLen,
11821 const BYTE * pIn,
11822 ULONG * pOutLen,
11823 BYTE * pOut )
11824 {
11825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11826 if (pAPI == 0)
11827 {
11828 return (ULONG)eGOBI_ERR_INTERNAL;
11829 }
11830
11831 ULONG svcID = 6;
11832 ULONG msgID = 101;
11833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11834 }
11835
11836 /*===========================================================================
11837 METHOD:
11838 AUTHStartEAPSession
11839
11840 DESCRIPTION:
11841 The function sends 'AUTH/Start EAP Session Request' (0x0020)
11842 and returns the response
11843
11844 PARAMETERS:
11845 handle [ I ] - Gobi interface handle
11846 to [ I ] - Timeout for transaction (in milliseconds)
11847 inLen [ I ] - Length of input buffer
11848 pIn [ I ] - Input buffer
11849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11850 contain, upon output the number of BYTEs copied
11851 to pOut
11852 pOut [ O ] - Output buffer
11853
11854 RETURN VALUE:
11855 ULONG - Return code
11856 ===========================================================================*/
11857 ULONG AUTHStartEAPSession(
11858 GOBIHANDLE handle,
11859 ULONG to,
11860 ULONG inLen,
11861 const BYTE * pIn,
11862 ULONG * pOutLen,
11863 BYTE * pOut )
11864 {
11865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11866 if (pAPI == 0)
11867 {
11868 return (ULONG)eGOBI_ERR_INTERNAL;
11869 }
11870
11871 ULONG svcID = 7;
11872 ULONG msgID = 32;
11873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11874 }
11875
11876 /*===========================================================================
11877 METHOD:
11878 AUTHSendEAPPacket
11879
11880 DESCRIPTION:
11881 The function sends 'AUTH/Send EAP Packet Request' (0x0021)
11882 and returns the response
11883
11884 PARAMETERS:
11885 handle [ I ] - Gobi interface handle
11886 to [ I ] - Timeout for transaction (in milliseconds)
11887 inLen [ I ] - Length of input buffer
11888 pIn [ I ] - Input buffer
11889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11890 contain, upon output the number of BYTEs copied
11891 to pOut
11892 pOut [ O ] - Output buffer
11893
11894 RETURN VALUE:
11895 ULONG - Return code
11896 ===========================================================================*/
11897 ULONG AUTHSendEAPPacket(
11898 GOBIHANDLE handle,
11899 ULONG to,
11900 ULONG inLen,
11901 const BYTE * pIn,
11902 ULONG * pOutLen,
11903 BYTE * pOut )
11904 {
11905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11906 if (pAPI == 0)
11907 {
11908 return (ULONG)eGOBI_ERR_INTERNAL;
11909 }
11910
11911 ULONG svcID = 7;
11912 ULONG msgID = 33;
11913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11914 }
11915
11916 /*===========================================================================
11917 METHOD:
11918 AUTHGetEAPSessionKeys
11919
11920 DESCRIPTION:
11921 The function sends 'AUTH/Get EAP Session Keys Request' (0x0023)
11922 and returns the response
11923
11924 PARAMETERS:
11925 handle [ I ] - Gobi interface handle
11926 to [ I ] - Timeout for transaction (in milliseconds)
11927 inLen [ I ] - Reserved for future use (set to 0)
11928 pIn [ I ] - Reserved for future use (set to 0)
11929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11930 contain, upon output the number of BYTEs copied
11931 to pOut
11932 pOut [ O ] - Output buffer
11933
11934 RETURN VALUE:
11935 ULONG - Return code
11936 ===========================================================================*/
11937 ULONG AUTHGetEAPSessionKeys(
11938 GOBIHANDLE handle,
11939 ULONG to,
11940 ULONG inLen,
11941 const BYTE * pIn,
11942 ULONG * pOutLen,
11943 BYTE * pOut )
11944 {
11945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11946 if (pAPI == 0)
11947 {
11948 return (ULONG)eGOBI_ERR_INTERNAL;
11949 }
11950
11951 ULONG svcID = 7;
11952 ULONG msgID = 35;
11953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11954 }
11955
11956 /*===========================================================================
11957 METHOD:
11958 AUTHEndEAPSession
11959
11960 DESCRIPTION:
11961 The function sends 'AUTH/End EAP Session Request' (0x0024)
11962 and returns the response
11963
11964 PARAMETERS:
11965 handle [ I ] - Gobi interface handle
11966 to [ I ] - Timeout for transaction (in milliseconds)
11967 inLen [ I ] - Reserved for future use (set to 0)
11968 pIn [ I ] - Reserved for future use (set to 0)
11969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
11970 contain, upon output the number of BYTEs copied
11971 to pOut
11972 pOut [ O ] - Output buffer
11973
11974 RETURN VALUE:
11975 ULONG - Return code
11976 ===========================================================================*/
11977 ULONG AUTHEndEAPSession(
11978 GOBIHANDLE handle,
11979 ULONG to,
11980 ULONG inLen,
11981 const BYTE * pIn,
11982 ULONG * pOutLen,
11983 BYTE * pOut )
11984 {
11985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
11986 if (pAPI == 0)
11987 {
11988 return (ULONG)eGOBI_ERR_INTERNAL;
11989 }
11990
11991 ULONG svcID = 7;
11992 ULONG msgID = 36;
11993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
11994 }
11995
11996 /*===========================================================================
11997 METHOD:
11998 AUTHRunAKA
11999
12000 DESCRIPTION:
12001 The function sends 'AUTH/Run AKA Request' (0x0025)
12002 and returns the response
12003
12004 PARAMETERS:
12005 handle [ I ] - Gobi interface handle
12006 to [ I ] - Timeout for transaction (in milliseconds)
12007 inLen [ I ] - Length of input buffer
12008 pIn [ I ] - Input buffer
12009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12010 contain, upon output the number of BYTEs copied
12011 to pOut
12012 pOut [ O ] - Output buffer
12013
12014 RETURN VALUE:
12015 ULONG - Return code
12016 ===========================================================================*/
12017 ULONG AUTHRunAKA(
12018 GOBIHANDLE handle,
12019 ULONG to,
12020 ULONG inLen,
12021 const BYTE * pIn,
12022 ULONG * pOutLen,
12023 BYTE * pOut )
12024 {
12025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12026 if (pAPI == 0)
12027 {
12028 return (ULONG)eGOBI_ERR_INTERNAL;
12029 }
12030
12031 ULONG svcID = 7;
12032 ULONG msgID = 37;
12033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12034 }
12035
12036 /*===========================================================================
12037 METHOD:
12038 VoiceIndicationRegistration
12039
12040 DESCRIPTION:
12041 The function sends 'Voice/Indication Registration Request' (0x0003)
12042 and returns the response
12043
12044 PARAMETERS:
12045 handle [ I ] - Gobi interface handle
12046 to [ I ] - Timeout for transaction (in milliseconds)
12047 inLen [ I ] - Length of input buffer
12048 pIn [ I ] - Input buffer
12049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12050 contain, upon output the number of BYTEs copied
12051 to pOut
12052 pOut [ O ] - Output buffer
12053
12054 RETURN VALUE:
12055 ULONG - Return code
12056 ===========================================================================*/
12057 ULONG VoiceIndicationRegistration(
12058 GOBIHANDLE handle,
12059 ULONG to,
12060 ULONG inLen,
12061 const BYTE * pIn,
12062 ULONG * pOutLen,
12063 BYTE * pOut )
12064 {
12065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12066 if (pAPI == 0)
12067 {
12068 return (ULONG)eGOBI_ERR_INTERNAL;
12069 }
12070
12071 ULONG svcID = 9;
12072 ULONG msgID = 3;
12073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12074 }
12075
12076 /*===========================================================================
12077 METHOD:
12078 VoiceCallOriginate
12079
12080 DESCRIPTION:
12081 The function sends 'Voice/Call Originate Request' (0x0020)
12082 and returns the response
12083
12084 PARAMETERS:
12085 handle [ I ] - Gobi interface handle
12086 to [ I ] - Timeout for transaction (in milliseconds)
12087 inLen [ I ] - Length of input buffer
12088 pIn [ I ] - Input buffer
12089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12090 contain, upon output the number of BYTEs copied
12091 to pOut
12092 pOut [ O ] - Output buffer
12093
12094 RETURN VALUE:
12095 ULONG - Return code
12096 ===========================================================================*/
12097 ULONG VoiceCallOriginate(
12098 GOBIHANDLE handle,
12099 ULONG to,
12100 ULONG inLen,
12101 const BYTE * pIn,
12102 ULONG * pOutLen,
12103 BYTE * pOut )
12104 {
12105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12106 if (pAPI == 0)
12107 {
12108 return (ULONG)eGOBI_ERR_INTERNAL;
12109 }
12110
12111 ULONG svcID = 9;
12112 ULONG msgID = 32;
12113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12114 }
12115
12116 /*===========================================================================
12117 METHOD:
12118 VoiceCallEnd
12119
12120 DESCRIPTION:
12121 The function sends 'Voice/Call End Request' (0x0021)
12122 and returns the response
12123
12124 PARAMETERS:
12125 handle [ I ] - Gobi interface handle
12126 to [ I ] - Timeout for transaction (in milliseconds)
12127 inLen [ I ] - Length of input buffer
12128 pIn [ I ] - Input buffer
12129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12130 contain, upon output the number of BYTEs copied
12131 to pOut
12132 pOut [ O ] - Output buffer
12133
12134 RETURN VALUE:
12135 ULONG - Return code
12136 ===========================================================================*/
12137 ULONG VoiceCallEnd(
12138 GOBIHANDLE handle,
12139 ULONG to,
12140 ULONG inLen,
12141 const BYTE * pIn,
12142 ULONG * pOutLen,
12143 BYTE * pOut )
12144 {
12145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12146 if (pAPI == 0)
12147 {
12148 return (ULONG)eGOBI_ERR_INTERNAL;
12149 }
12150
12151 ULONG svcID = 9;
12152 ULONG msgID = 33;
12153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12154 }
12155
12156 /*===========================================================================
12157 METHOD:
12158 VoiceCallAnswer
12159
12160 DESCRIPTION:
12161 The function sends 'Voice/Call Answer Request' (0x0022)
12162 and returns the response
12163
12164 PARAMETERS:
12165 handle [ I ] - Gobi interface handle
12166 to [ I ] - Timeout for transaction (in milliseconds)
12167 inLen [ I ] - Length of input buffer
12168 pIn [ I ] - Input buffer
12169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12170 contain, upon output the number of BYTEs copied
12171 to pOut
12172 pOut [ O ] - Output buffer
12173
12174 RETURN VALUE:
12175 ULONG - Return code
12176 ===========================================================================*/
12177 ULONG VoiceCallAnswer(
12178 GOBIHANDLE handle,
12179 ULONG to,
12180 ULONG inLen,
12181 const BYTE * pIn,
12182 ULONG * pOutLen,
12183 BYTE * pOut )
12184 {
12185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12186 if (pAPI == 0)
12187 {
12188 return (ULONG)eGOBI_ERR_INTERNAL;
12189 }
12190
12191 ULONG svcID = 9;
12192 ULONG msgID = 34;
12193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12194 }
12195
12196 /*===========================================================================
12197 METHOD:
12198 VoiceGetCallInfo
12199
12200 DESCRIPTION:
12201 The function sends 'Voice/Get Call Info Request' (0x0024)
12202 and returns the response
12203
12204 PARAMETERS:
12205 handle [ I ] - Gobi interface handle
12206 to [ I ] - Timeout for transaction (in milliseconds)
12207 inLen [ I ] - Length of input buffer
12208 pIn [ I ] - Input buffer
12209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12210 contain, upon output the number of BYTEs copied
12211 to pOut
12212 pOut [ O ] - Output buffer
12213
12214 RETURN VALUE:
12215 ULONG - Return code
12216 ===========================================================================*/
12217 ULONG VoiceGetCallInfo(
12218 GOBIHANDLE handle,
12219 ULONG to,
12220 ULONG inLen,
12221 const BYTE * pIn,
12222 ULONG * pOutLen,
12223 BYTE * pOut )
12224 {
12225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12226 if (pAPI == 0)
12227 {
12228 return (ULONG)eGOBI_ERR_INTERNAL;
12229 }
12230
12231 ULONG svcID = 9;
12232 ULONG msgID = 36;
12233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12234 }
12235
12236 /*===========================================================================
12237 METHOD:
12238 VoiceSendFlash
12239
12240 DESCRIPTION:
12241 The function sends 'Voice/Send Flash Request' (0x0027)
12242 and returns the response
12243
12244 PARAMETERS:
12245 handle [ I ] - Gobi interface handle
12246 to [ I ] - Timeout for transaction (in milliseconds)
12247 inLen [ I ] - Length of input buffer
12248 pIn [ I ] - Input buffer
12249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12250 contain, upon output the number of BYTEs copied
12251 to pOut
12252 pOut [ O ] - Output buffer
12253
12254 RETURN VALUE:
12255 ULONG - Return code
12256 ===========================================================================*/
12257 ULONG VoiceSendFlash(
12258 GOBIHANDLE handle,
12259 ULONG to,
12260 ULONG inLen,
12261 const BYTE * pIn,
12262 ULONG * pOutLen,
12263 BYTE * pOut )
12264 {
12265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12266 if (pAPI == 0)
12267 {
12268 return (ULONG)eGOBI_ERR_INTERNAL;
12269 }
12270
12271 ULONG svcID = 9;
12272 ULONG msgID = 39;
12273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12274 }
12275
12276 /*===========================================================================
12277 METHOD:
12278 VoiceBurstDTMF
12279
12280 DESCRIPTION:
12281 The function sends 'Voice/Burst DTMF Request' (0x0028)
12282 and returns the response
12283
12284 PARAMETERS:
12285 handle [ I ] - Gobi interface handle
12286 to [ I ] - Timeout for transaction (in milliseconds)
12287 inLen [ I ] - Length of input buffer
12288 pIn [ I ] - Input buffer
12289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12290 contain, upon output the number of BYTEs copied
12291 to pOut
12292 pOut [ O ] - Output buffer
12293
12294 RETURN VALUE:
12295 ULONG - Return code
12296 ===========================================================================*/
12297 ULONG VoiceBurstDTMF(
12298 GOBIHANDLE handle,
12299 ULONG to,
12300 ULONG inLen,
12301 const BYTE * pIn,
12302 ULONG * pOutLen,
12303 BYTE * pOut )
12304 {
12305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12306 if (pAPI == 0)
12307 {
12308 return (ULONG)eGOBI_ERR_INTERNAL;
12309 }
12310
12311 ULONG svcID = 9;
12312 ULONG msgID = 40;
12313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12314 }
12315
12316 /*===========================================================================
12317 METHOD:
12318 VoiceStartContinuousDTMF
12319
12320 DESCRIPTION:
12321 The function sends 'Voice/Start Continuous DTMF Request' (0x0029)
12322 and returns the response
12323
12324 PARAMETERS:
12325 handle [ I ] - Gobi interface handle
12326 to [ I ] - Timeout for transaction (in milliseconds)
12327 inLen [ I ] - Length of input buffer
12328 pIn [ I ] - Input buffer
12329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12330 contain, upon output the number of BYTEs copied
12331 to pOut
12332 pOut [ O ] - Output buffer
12333
12334 RETURN VALUE:
12335 ULONG - Return code
12336 ===========================================================================*/
12337 ULONG VoiceStartContinuousDTMF(
12338 GOBIHANDLE handle,
12339 ULONG to,
12340 ULONG inLen,
12341 const BYTE * pIn,
12342 ULONG * pOutLen,
12343 BYTE * pOut )
12344 {
12345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12346 if (pAPI == 0)
12347 {
12348 return (ULONG)eGOBI_ERR_INTERNAL;
12349 }
12350
12351 ULONG svcID = 9;
12352 ULONG msgID = 41;
12353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12354 }
12355
12356 /*===========================================================================
12357 METHOD:
12358 VoiceStopContinuousDTMF
12359
12360 DESCRIPTION:
12361 The function sends 'Voice/Stop Continuous DTMF Request' (0x002A)
12362 and returns the response
12363
12364 PARAMETERS:
12365 handle [ I ] - Gobi interface handle
12366 to [ I ] - Timeout for transaction (in milliseconds)
12367 inLen [ I ] - Length of input buffer
12368 pIn [ I ] - Input buffer
12369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12370 contain, upon output the number of BYTEs copied
12371 to pOut
12372 pOut [ O ] - Output buffer
12373
12374 RETURN VALUE:
12375 ULONG - Return code
12376 ===========================================================================*/
12377 ULONG VoiceStopContinuousDTMF(
12378 GOBIHANDLE handle,
12379 ULONG to,
12380 ULONG inLen,
12381 const BYTE * pIn,
12382 ULONG * pOutLen,
12383 BYTE * pOut )
12384 {
12385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12386 if (pAPI == 0)
12387 {
12388 return (ULONG)eGOBI_ERR_INTERNAL;
12389 }
12390
12391 ULONG svcID = 9;
12392 ULONG msgID = 42;
12393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12394 }
12395
12396 /*===========================================================================
12397 METHOD:
12398 VoiceSetPreferredPrivacy
12399
12400 DESCRIPTION:
12401 The function sends 'Voice/Set Preferred Privacy Request' (0x002C)
12402 and returns the response
12403
12404 PARAMETERS:
12405 handle [ I ] - Gobi interface handle
12406 to [ I ] - Timeout for transaction (in milliseconds)
12407 inLen [ I ] - Length of input buffer
12408 pIn [ I ] - Input buffer
12409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12410 contain, upon output the number of BYTEs copied
12411 to pOut
12412 pOut [ O ] - Output buffer
12413
12414 RETURN VALUE:
12415 ULONG - Return code
12416 ===========================================================================*/
12417 ULONG VoiceSetPreferredPrivacy(
12418 GOBIHANDLE handle,
12419 ULONG to,
12420 ULONG inLen,
12421 const BYTE * pIn,
12422 ULONG * pOutLen,
12423 BYTE * pOut )
12424 {
12425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12426 if (pAPI == 0)
12427 {
12428 return (ULONG)eGOBI_ERR_INTERNAL;
12429 }
12430
12431 ULONG svcID = 9;
12432 ULONG msgID = 44;
12433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12434 }
12435
12436 /*===========================================================================
12437 METHOD:
12438 VoiceGetAllCallInfo
12439
12440 DESCRIPTION:
12441 The function sends 'Voice/Get All Call Info Request' (0x002F)
12442 and returns the response
12443
12444 PARAMETERS:
12445 handle [ I ] - Gobi interface handle
12446 to [ I ] - Timeout for transaction (in milliseconds)
12447 inLen [ I ] - Reserved for future use (set to 0)
12448 pIn [ I ] - Reserved for future use (set to 0)
12449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12450 contain, upon output the number of BYTEs copied
12451 to pOut
12452 pOut [ O ] - Output buffer
12453
12454 RETURN VALUE:
12455 ULONG - Return code
12456 ===========================================================================*/
12457 ULONG VoiceGetAllCallInfo(
12458 GOBIHANDLE handle,
12459 ULONG to,
12460 ULONG inLen,
12461 const BYTE * pIn,
12462 ULONG * pOutLen,
12463 BYTE * pOut )
12464 {
12465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12466 if (pAPI == 0)
12467 {
12468 return (ULONG)eGOBI_ERR_INTERNAL;
12469 }
12470
12471 ULONG svcID = 9;
12472 ULONG msgID = 47;
12473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12474 }
12475
12476 /*===========================================================================
12477 METHOD:
12478 VoiceManageCalls
12479
12480 DESCRIPTION:
12481 The function sends 'Voice/Manage Calls Request' (0x0031)
12482 and returns the response
12483
12484 PARAMETERS:
12485 handle [ I ] - Gobi interface handle
12486 to [ I ] - Timeout for transaction (in milliseconds)
12487 inLen [ I ] - Length of input buffer
12488 pIn [ I ] - Input buffer
12489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12490 contain, upon output the number of BYTEs copied
12491 to pOut
12492 pOut [ O ] - Output buffer
12493
12494 RETURN VALUE:
12495 ULONG - Return code
12496 ===========================================================================*/
12497 ULONG VoiceManageCalls(
12498 GOBIHANDLE handle,
12499 ULONG to,
12500 ULONG inLen,
12501 const BYTE * pIn,
12502 ULONG * pOutLen,
12503 BYTE * pOut )
12504 {
12505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12506 if (pAPI == 0)
12507 {
12508 return (ULONG)eGOBI_ERR_INTERNAL;
12509 }
12510
12511 ULONG svcID = 9;
12512 ULONG msgID = 49;
12513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12514 }
12515
12516 /*===========================================================================
12517 METHOD:
12518 VoiceSetSupplementaryService
12519
12520 DESCRIPTION:
12521 The function sends 'Voice/Set Supplementary Service Request' (0x0033)
12522 and returns the response
12523
12524 PARAMETERS:
12525 handle [ I ] - Gobi interface handle
12526 to [ I ] - Timeout for transaction (in milliseconds)
12527 inLen [ I ] - Length of input buffer
12528 pIn [ I ] - Input buffer
12529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12530 contain, upon output the number of BYTEs copied
12531 to pOut
12532 pOut [ O ] - Output buffer
12533
12534 RETURN VALUE:
12535 ULONG - Return code
12536 ===========================================================================*/
12537 ULONG VoiceSetSupplementaryService(
12538 GOBIHANDLE handle,
12539 ULONG to,
12540 ULONG inLen,
12541 const BYTE * pIn,
12542 ULONG * pOutLen,
12543 BYTE * pOut )
12544 {
12545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12546 if (pAPI == 0)
12547 {
12548 return (ULONG)eGOBI_ERR_INTERNAL;
12549 }
12550
12551 ULONG svcID = 9;
12552 ULONG msgID = 51;
12553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12554 }
12555
12556 /*===========================================================================
12557 METHOD:
12558 VoiceGetCallWaiting
12559
12560 DESCRIPTION:
12561 The function sends 'Voice/Get Call Waiting Request' (0x0034)
12562 and returns the response
12563
12564 PARAMETERS:
12565 handle [ I ] - Gobi interface handle
12566 to [ I ] - Timeout for transaction (in milliseconds)
12567 inLen [ I ] - Length of input buffer
12568 pIn [ I ] - Input buffer
12569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12570 contain, upon output the number of BYTEs copied
12571 to pOut
12572 pOut [ O ] - Output buffer
12573
12574 RETURN VALUE:
12575 ULONG - Return code
12576 ===========================================================================*/
12577 ULONG VoiceGetCallWaiting(
12578 GOBIHANDLE handle,
12579 ULONG to,
12580 ULONG inLen,
12581 const BYTE * pIn,
12582 ULONG * pOutLen,
12583 BYTE * pOut )
12584 {
12585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12586 if (pAPI == 0)
12587 {
12588 return (ULONG)eGOBI_ERR_INTERNAL;
12589 }
12590
12591 ULONG svcID = 9;
12592 ULONG msgID = 52;
12593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12594 }
12595
12596 /*===========================================================================
12597 METHOD:
12598 VoiceGetCallBarring
12599
12600 DESCRIPTION:
12601 The function sends 'Voice/Get Call Barring Request' (0x0035)
12602 and returns the response
12603
12604 PARAMETERS:
12605 handle [ I ] - Gobi interface handle
12606 to [ I ] - Timeout for transaction (in milliseconds)
12607 inLen [ I ] - Length of input buffer
12608 pIn [ I ] - Input buffer
12609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12610 contain, upon output the number of BYTEs copied
12611 to pOut
12612 pOut [ O ] - Output buffer
12613
12614 RETURN VALUE:
12615 ULONG - Return code
12616 ===========================================================================*/
12617 ULONG VoiceGetCallBarring(
12618 GOBIHANDLE handle,
12619 ULONG to,
12620 ULONG inLen,
12621 const BYTE * pIn,
12622 ULONG * pOutLen,
12623 BYTE * pOut )
12624 {
12625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12626 if (pAPI == 0)
12627 {
12628 return (ULONG)eGOBI_ERR_INTERNAL;
12629 }
12630
12631 ULONG svcID = 9;
12632 ULONG msgID = 53;
12633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12634 }
12635
12636 /*===========================================================================
12637 METHOD:
12638 VoiceGetCLIP
12639
12640 DESCRIPTION:
12641 The function sends 'Voice/Get CLIP Request' (0x0036)
12642 and returns the response
12643
12644 PARAMETERS:
12645 handle [ I ] - Gobi interface handle
12646 to [ I ] - Timeout for transaction (in milliseconds)
12647 inLen [ I ] - Reserved for future use (set to 0)
12648 pIn [ I ] - Reserved for future use (set to 0)
12649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12650 contain, upon output the number of BYTEs copied
12651 to pOut
12652 pOut [ O ] - Output buffer
12653
12654 RETURN VALUE:
12655 ULONG - Return code
12656 ===========================================================================*/
12657 ULONG VoiceGetCLIP(
12658 GOBIHANDLE handle,
12659 ULONG to,
12660 ULONG inLen,
12661 const BYTE * pIn,
12662 ULONG * pOutLen,
12663 BYTE * pOut )
12664 {
12665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12666 if (pAPI == 0)
12667 {
12668 return (ULONG)eGOBI_ERR_INTERNAL;
12669 }
12670
12671 ULONG svcID = 9;
12672 ULONG msgID = 54;
12673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12674 }
12675
12676 /*===========================================================================
12677 METHOD:
12678 VoiceGetCLIR
12679
12680 DESCRIPTION:
12681 The function sends 'Voice/Get CLIR Request' (0x0037)
12682 and returns the response
12683
12684 PARAMETERS:
12685 handle [ I ] - Gobi interface handle
12686 to [ I ] - Timeout for transaction (in milliseconds)
12687 inLen [ I ] - Reserved for future use (set to 0)
12688 pIn [ I ] - Reserved for future use (set to 0)
12689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12690 contain, upon output the number of BYTEs copied
12691 to pOut
12692 pOut [ O ] - Output buffer
12693
12694 RETURN VALUE:
12695 ULONG - Return code
12696 ===========================================================================*/
12697 ULONG VoiceGetCLIR(
12698 GOBIHANDLE handle,
12699 ULONG to,
12700 ULONG inLen,
12701 const BYTE * pIn,
12702 ULONG * pOutLen,
12703 BYTE * pOut )
12704 {
12705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12706 if (pAPI == 0)
12707 {
12708 return (ULONG)eGOBI_ERR_INTERNAL;
12709 }
12710
12711 ULONG svcID = 9;
12712 ULONG msgID = 55;
12713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12714 }
12715
12716 /*===========================================================================
12717 METHOD:
12718 VoiceGetCallForwarding
12719
12720 DESCRIPTION:
12721 The function sends 'Voice/Get Call Forwarding Request' (0x0038)
12722 and returns the response
12723
12724 PARAMETERS:
12725 handle [ I ] - Gobi interface handle
12726 to [ I ] - Timeout for transaction (in milliseconds)
12727 inLen [ I ] - Length of input buffer
12728 pIn [ I ] - Input buffer
12729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12730 contain, upon output the number of BYTEs copied
12731 to pOut
12732 pOut [ O ] - Output buffer
12733
12734 RETURN VALUE:
12735 ULONG - Return code
12736 ===========================================================================*/
12737 ULONG VoiceGetCallForwarding(
12738 GOBIHANDLE handle,
12739 ULONG to,
12740 ULONG inLen,
12741 const BYTE * pIn,
12742 ULONG * pOutLen,
12743 BYTE * pOut )
12744 {
12745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12746 if (pAPI == 0)
12747 {
12748 return (ULONG)eGOBI_ERR_INTERNAL;
12749 }
12750
12751 ULONG svcID = 9;
12752 ULONG msgID = 56;
12753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12754 }
12755
12756 /*===========================================================================
12757 METHOD:
12758 VoiceSetCallBarringPassword
12759
12760 DESCRIPTION:
12761 The function sends 'Voice/Set Call Barring Password Request' (0x0039)
12762 and returns the response
12763
12764 PARAMETERS:
12765 handle [ I ] - Gobi interface handle
12766 to [ I ] - Timeout for transaction (in milliseconds)
12767 inLen [ I ] - Length of input buffer
12768 pIn [ I ] - Input buffer
12769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12770 contain, upon output the number of BYTEs copied
12771 to pOut
12772 pOut [ O ] - Output buffer
12773
12774 RETURN VALUE:
12775 ULONG - Return code
12776 ===========================================================================*/
12777 ULONG VoiceSetCallBarringPassword(
12778 GOBIHANDLE handle,
12779 ULONG to,
12780 ULONG inLen,
12781 const BYTE * pIn,
12782 ULONG * pOutLen,
12783 BYTE * pOut )
12784 {
12785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12786 if (pAPI == 0)
12787 {
12788 return (ULONG)eGOBI_ERR_INTERNAL;
12789 }
12790
12791 ULONG svcID = 9;
12792 ULONG msgID = 57;
12793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12794 }
12795
12796 /*===========================================================================
12797 METHOD:
12798 VoiceInitiateUSSD
12799
12800 DESCRIPTION:
12801 The function sends 'Voice/Initiate USSD Request' (0x003A)
12802 and returns the response
12803
12804 PARAMETERS:
12805 handle [ I ] - Gobi interface handle
12806 to [ I ] - Timeout for transaction (in milliseconds)
12807 inLen [ I ] - Length of input buffer
12808 pIn [ I ] - Input buffer
12809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12810 contain, upon output the number of BYTEs copied
12811 to pOut
12812 pOut [ O ] - Output buffer
12813
12814 RETURN VALUE:
12815 ULONG - Return code
12816 ===========================================================================*/
12817 ULONG VoiceInitiateUSSD(
12818 GOBIHANDLE handle,
12819 ULONG to,
12820 ULONG inLen,
12821 const BYTE * pIn,
12822 ULONG * pOutLen,
12823 BYTE * pOut )
12824 {
12825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12826 if (pAPI == 0)
12827 {
12828 return (ULONG)eGOBI_ERR_INTERNAL;
12829 }
12830
12831 ULONG svcID = 9;
12832 ULONG msgID = 58;
12833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12834 }
12835
12836 /*===========================================================================
12837 METHOD:
12838 VoiceAnswerUSSD
12839
12840 DESCRIPTION:
12841 The function sends 'Voice/Answer USSD Request' (0x003B)
12842 and returns the response
12843
12844 PARAMETERS:
12845 handle [ I ] - Gobi interface handle
12846 to [ I ] - Timeout for transaction (in milliseconds)
12847 inLen [ I ] - Length of input buffer
12848 pIn [ I ] - Input buffer
12849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12850 contain, upon output the number of BYTEs copied
12851 to pOut
12852 pOut [ O ] - Output buffer
12853
12854 RETURN VALUE:
12855 ULONG - Return code
12856 ===========================================================================*/
12857 ULONG VoiceAnswerUSSD(
12858 GOBIHANDLE handle,
12859 ULONG to,
12860 ULONG inLen,
12861 const BYTE * pIn,
12862 ULONG * pOutLen,
12863 BYTE * pOut )
12864 {
12865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12866 if (pAPI == 0)
12867 {
12868 return (ULONG)eGOBI_ERR_INTERNAL;
12869 }
12870
12871 ULONG svcID = 9;
12872 ULONG msgID = 59;
12873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12874 }
12875
12876 /*===========================================================================
12877 METHOD:
12878 VoiceCancelUSSD
12879
12880 DESCRIPTION:
12881 The function sends 'Voice/Cancel USSD Request' (0x003C)
12882 and returns the response
12883
12884 PARAMETERS:
12885 handle [ I ] - Gobi interface handle
12886 to [ I ] - Timeout for transaction (in milliseconds)
12887 inLen [ I ] - Reserved for future use (set to 0)
12888 pIn [ I ] - Reserved for future use (set to 0)
12889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12890 contain, upon output the number of BYTEs copied
12891 to pOut
12892 pOut [ O ] - Output buffer
12893
12894 RETURN VALUE:
12895 ULONG - Return code
12896 ===========================================================================*/
12897 ULONG VoiceCancelUSSD(
12898 GOBIHANDLE handle,
12899 ULONG to,
12900 ULONG inLen,
12901 const BYTE * pIn,
12902 ULONG * pOutLen,
12903 BYTE * pOut )
12904 {
12905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12906 if (pAPI == 0)
12907 {
12908 return (ULONG)eGOBI_ERR_INTERNAL;
12909 }
12910
12911 ULONG svcID = 9;
12912 ULONG msgID = 60;
12913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12914 }
12915
12916 /*===========================================================================
12917 METHOD:
12918 VoiceSetConfig
12919
12920 DESCRIPTION:
12921 The function sends 'Voice/Set Config Request' (0x0040)
12922 and returns the response
12923
12924 PARAMETERS:
12925 handle [ I ] - Gobi interface handle
12926 to [ I ] - Timeout for transaction (in milliseconds)
12927 inLen [ I ] - Length of input buffer
12928 pIn [ I ] - Input buffer
12929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12930 contain, upon output the number of BYTEs copied
12931 to pOut
12932 pOut [ O ] - Output buffer
12933
12934 RETURN VALUE:
12935 ULONG - Return code
12936 ===========================================================================*/
12937 ULONG VoiceSetConfig(
12938 GOBIHANDLE handle,
12939 ULONG to,
12940 ULONG inLen,
12941 const BYTE * pIn,
12942 ULONG * pOutLen,
12943 BYTE * pOut )
12944 {
12945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12946 if (pAPI == 0)
12947 {
12948 return (ULONG)eGOBI_ERR_INTERNAL;
12949 }
12950
12951 ULONG svcID = 9;
12952 ULONG msgID = 64;
12953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12954 }
12955
12956 /*===========================================================================
12957 METHOD:
12958 VoiceGetConfig
12959
12960 DESCRIPTION:
12961 The function sends 'Voice/Get Config Request' (0x0041)
12962 and returns the response
12963
12964 PARAMETERS:
12965 handle [ I ] - Gobi interface handle
12966 to [ I ] - Timeout for transaction (in milliseconds)
12967 inLen [ I ] - Length of input buffer
12968 pIn [ I ] - Input buffer
12969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
12970 contain, upon output the number of BYTEs copied
12971 to pOut
12972 pOut [ O ] - Output buffer
12973
12974 RETURN VALUE:
12975 ULONG - Return code
12976 ===========================================================================*/
12977 ULONG VoiceGetConfig(
12978 GOBIHANDLE handle,
12979 ULONG to,
12980 ULONG inLen,
12981 const BYTE * pIn,
12982 ULONG * pOutLen,
12983 BYTE * pOut )
12984 {
12985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
12986 if (pAPI == 0)
12987 {
12988 return (ULONG)eGOBI_ERR_INTERNAL;
12989 }
12990
12991 ULONG svcID = 9;
12992 ULONG msgID = 65;
12993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
12994 }
12995
12996 /*===========================================================================
12997 METHOD:
12998 VoiceAsyncInitiateUSSD
12999
13000 DESCRIPTION:
13001 The function sends 'Voice/Async Initiate USSD Request' (0x0043)
13002 and returns the response
13003
13004 PARAMETERS:
13005 handle [ I ] - Gobi interface handle
13006 to [ I ] - Timeout for transaction (in milliseconds)
13007 inLen [ I ] - Length of input buffer
13008 pIn [ I ] - Input buffer
13009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13010 contain, upon output the number of BYTEs copied
13011 to pOut
13012 pOut [ O ] - Output buffer
13013
13014 RETURN VALUE:
13015 ULONG - Return code
13016 ===========================================================================*/
13017 ULONG VoiceAsyncInitiateUSSD(
13018 GOBIHANDLE handle,
13019 ULONG to,
13020 ULONG inLen,
13021 const BYTE * pIn,
13022 ULONG * pOutLen,
13023 BYTE * pOut )
13024 {
13025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13026 if (pAPI == 0)
13027 {
13028 return (ULONG)eGOBI_ERR_INTERNAL;
13029 }
13030
13031 ULONG svcID = 9;
13032 ULONG msgID = 67;
13033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13034 }
13035
13036 /*===========================================================================
13037 METHOD:
13038 VoiceBindSubscription
13039
13040 DESCRIPTION:
13041 The function sends 'Voice/Bind Subscription Request' (0x0044)
13042 and returns the response
13043
13044 PARAMETERS:
13045 handle [ I ] - Gobi interface handle
13046 to [ I ] - Timeout for transaction (in milliseconds)
13047 inLen [ I ] - Length of input buffer
13048 pIn [ I ] - Input buffer
13049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13050 contain, upon output the number of BYTEs copied
13051 to pOut
13052 pOut [ O ] - Output buffer
13053
13054 RETURN VALUE:
13055 ULONG - Return code
13056 ===========================================================================*/
13057 ULONG VoiceBindSubscription(
13058 GOBIHANDLE handle,
13059 ULONG to,
13060 ULONG inLen,
13061 const BYTE * pIn,
13062 ULONG * pOutLen,
13063 BYTE * pOut )
13064 {
13065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13066 if (pAPI == 0)
13067 {
13068 return (ULONG)eGOBI_ERR_INTERNAL;
13069 }
13070
13071 ULONG svcID = 9;
13072 ULONG msgID = 68;
13073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13074 }
13075
13076 /*===========================================================================
13077 METHOD:
13078 VoiceALSSetLineSwitching
13079
13080 DESCRIPTION:
13081 The function sends 'Voice/ALS Set Line Switching Request' (0x0045)
13082 and returns the response
13083
13084 PARAMETERS:
13085 handle [ I ] - Gobi interface handle
13086 to [ I ] - Timeout for transaction (in milliseconds)
13087 inLen [ I ] - Length of input buffer
13088 pIn [ I ] - Input buffer
13089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13090 contain, upon output the number of BYTEs copied
13091 to pOut
13092 pOut [ O ] - Output buffer
13093
13094 RETURN VALUE:
13095 ULONG - Return code
13096 ===========================================================================*/
13097 ULONG VoiceALSSetLineSwitching(
13098 GOBIHANDLE handle,
13099 ULONG to,
13100 ULONG inLen,
13101 const BYTE * pIn,
13102 ULONG * pOutLen,
13103 BYTE * pOut )
13104 {
13105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13106 if (pAPI == 0)
13107 {
13108 return (ULONG)eGOBI_ERR_INTERNAL;
13109 }
13110
13111 ULONG svcID = 9;
13112 ULONG msgID = 69;
13113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13114 }
13115
13116 /*===========================================================================
13117 METHOD:
13118 VoiceALSSelectLine
13119
13120 DESCRIPTION:
13121 The function sends 'Voice/ALS Select Line Request' (0x0046)
13122 and returns the response
13123
13124 PARAMETERS:
13125 handle [ I ] - Gobi interface handle
13126 to [ I ] - Timeout for transaction (in milliseconds)
13127 inLen [ I ] - Length of input buffer
13128 pIn [ I ] - Input buffer
13129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13130 contain, upon output the number of BYTEs copied
13131 to pOut
13132 pOut [ O ] - Output buffer
13133
13134 RETURN VALUE:
13135 ULONG - Return code
13136 ===========================================================================*/
13137 ULONG VoiceALSSelectLine(
13138 GOBIHANDLE handle,
13139 ULONG to,
13140 ULONG inLen,
13141 const BYTE * pIn,
13142 ULONG * pOutLen,
13143 BYTE * pOut )
13144 {
13145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13146 if (pAPI == 0)
13147 {
13148 return (ULONG)eGOBI_ERR_INTERNAL;
13149 }
13150
13151 ULONG svcID = 9;
13152 ULONG msgID = 70;
13153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13154 }
13155
13156 /*===========================================================================
13157 METHOD:
13158 VoiceAOCResetACM
13159
13160 DESCRIPTION:
13161 The function sends 'Voice/AOC Reset ACM Request' (0x0047)
13162 and returns the response
13163
13164 PARAMETERS:
13165 handle [ I ] - Gobi interface handle
13166 to [ I ] - Timeout for transaction (in milliseconds)
13167 inLen [ I ] - Reserved for future use (set to 0)
13168 pIn [ I ] - Reserved for future use (set to 0)
13169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13170 contain, upon output the number of BYTEs copied
13171 to pOut
13172 pOut [ O ] - Output buffer
13173
13174 RETURN VALUE:
13175 ULONG - Return code
13176 ===========================================================================*/
13177 ULONG VoiceAOCResetACM(
13178 GOBIHANDLE handle,
13179 ULONG to,
13180 ULONG inLen,
13181 const BYTE * pIn,
13182 ULONG * pOutLen,
13183 BYTE * pOut )
13184 {
13185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13186 if (pAPI == 0)
13187 {
13188 return (ULONG)eGOBI_ERR_INTERNAL;
13189 }
13190
13191 ULONG svcID = 9;
13192 ULONG msgID = 71;
13193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13194 }
13195
13196 /*===========================================================================
13197 METHOD:
13198 VoiceAOCSetACMMaximum
13199
13200 DESCRIPTION:
13201 The function sends 'Voice/AOC Set ACM Maximum Request' (0x0048)
13202 and returns the response
13203
13204 PARAMETERS:
13205 handle [ I ] - Gobi interface handle
13206 to [ I ] - Timeout for transaction (in milliseconds)
13207 inLen [ I ] - Length of input buffer
13208 pIn [ I ] - Input buffer
13209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13210 contain, upon output the number of BYTEs copied
13211 to pOut
13212 pOut [ O ] - Output buffer
13213
13214 RETURN VALUE:
13215 ULONG - Return code
13216 ===========================================================================*/
13217 ULONG VoiceAOCSetACMMaximum(
13218 GOBIHANDLE handle,
13219 ULONG to,
13220 ULONG inLen,
13221 const BYTE * pIn,
13222 ULONG * pOutLen,
13223 BYTE * pOut )
13224 {
13225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13226 if (pAPI == 0)
13227 {
13228 return (ULONG)eGOBI_ERR_INTERNAL;
13229 }
13230
13231 ULONG svcID = 9;
13232 ULONG msgID = 72;
13233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13234 }
13235
13236 /*===========================================================================
13237 METHOD:
13238 VoiceAOCGetCallMeterInfo
13239
13240 DESCRIPTION:
13241 The function sends 'Voice/AOC Get Call Meter Info Request' (0x0049)
13242 and returns the response
13243
13244 PARAMETERS:
13245 handle [ I ] - Gobi interface handle
13246 to [ I ] - Timeout for transaction (in milliseconds)
13247 inLen [ I ] - Length of input buffer
13248 pIn [ I ] - Input buffer
13249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13250 contain, upon output the number of BYTEs copied
13251 to pOut
13252 pOut [ O ] - Output buffer
13253
13254 RETURN VALUE:
13255 ULONG - Return code
13256 ===========================================================================*/
13257 ULONG VoiceAOCGetCallMeterInfo(
13258 GOBIHANDLE handle,
13259 ULONG to,
13260 ULONG inLen,
13261 const BYTE * pIn,
13262 ULONG * pOutLen,
13263 BYTE * pOut )
13264 {
13265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13266 if (pAPI == 0)
13267 {
13268 return (ULONG)eGOBI_ERR_INTERNAL;
13269 }
13270
13271 ULONG svcID = 9;
13272 ULONG msgID = 73;
13273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13274 }
13275
13276 /*===========================================================================
13277 METHOD:
13278 VoiceGetCOLP
13279
13280 DESCRIPTION:
13281 The function sends 'Voice/Get COLP Request' (0x004B)
13282 and returns the response
13283
13284 PARAMETERS:
13285 handle [ I ] - Gobi interface handle
13286 to [ I ] - Timeout for transaction (in milliseconds)
13287 inLen [ I ] - Reserved for future use (set to 0)
13288 pIn [ I ] - Reserved for future use (set to 0)
13289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13290 contain, upon output the number of BYTEs copied
13291 to pOut
13292 pOut [ O ] - Output buffer
13293
13294 RETURN VALUE:
13295 ULONG - Return code
13296 ===========================================================================*/
13297 ULONG VoiceGetCOLP(
13298 GOBIHANDLE handle,
13299 ULONG to,
13300 ULONG inLen,
13301 const BYTE * pIn,
13302 ULONG * pOutLen,
13303 BYTE * pOut )
13304 {
13305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13306 if (pAPI == 0)
13307 {
13308 return (ULONG)eGOBI_ERR_INTERNAL;
13309 }
13310
13311 ULONG svcID = 9;
13312 ULONG msgID = 75;
13313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13314 }
13315
13316 /*===========================================================================
13317 METHOD:
13318 VoiceGetCOLR
13319
13320 DESCRIPTION:
13321 The function sends 'Voice/Get COLR Request' (0x004C)
13322 and returns the response
13323
13324 PARAMETERS:
13325 handle [ I ] - Gobi interface handle
13326 to [ I ] - Timeout for transaction (in milliseconds)
13327 inLen [ I ] - Reserved for future use (set to 0)
13328 pIn [ I ] - Reserved for future use (set to 0)
13329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13330 contain, upon output the number of BYTEs copied
13331 to pOut
13332 pOut [ O ] - Output buffer
13333
13334 RETURN VALUE:
13335 ULONG - Return code
13336 ===========================================================================*/
13337 ULONG VoiceGetCOLR(
13338 GOBIHANDLE handle,
13339 ULONG to,
13340 ULONG inLen,
13341 const BYTE * pIn,
13342 ULONG * pOutLen,
13343 BYTE * pOut )
13344 {
13345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13346 if (pAPI == 0)
13347 {
13348 return (ULONG)eGOBI_ERR_INTERNAL;
13349 }
13350
13351 ULONG svcID = 9;
13352 ULONG msgID = 76;
13353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13354 }
13355
13356 /*===========================================================================
13357 METHOD:
13358 VoiceGetCNAP
13359
13360 DESCRIPTION:
13361 The function sends 'Voice/Get CNAP Request' (0x004D)
13362 and returns the response
13363
13364 PARAMETERS:
13365 handle [ I ] - Gobi interface handle
13366 to [ I ] - Timeout for transaction (in milliseconds)
13367 inLen [ I ] - Reserved for future use (set to 0)
13368 pIn [ I ] - Reserved for future use (set to 0)
13369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13370 contain, upon output the number of BYTEs copied
13371 to pOut
13372 pOut [ O ] - Output buffer
13373
13374 RETURN VALUE:
13375 ULONG - Return code
13376 ===========================================================================*/
13377 ULONG VoiceGetCNAP(
13378 GOBIHANDLE handle,
13379 ULONG to,
13380 ULONG inLen,
13381 const BYTE * pIn,
13382 ULONG * pOutLen,
13383 BYTE * pOut )
13384 {
13385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13386 if (pAPI == 0)
13387 {
13388 return (ULONG)eGOBI_ERR_INTERNAL;
13389 }
13390
13391 ULONG svcID = 9;
13392 ULONG msgID = 77;
13393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13394 }
13395
13396 /*===========================================================================
13397 METHOD:
13398 VoiceManageIPCalls
13399
13400 DESCRIPTION:
13401 The function sends 'Voice/Manage IP Calls Request' (0x004E)
13402 and returns the response
13403
13404 PARAMETERS:
13405 handle [ I ] - Gobi interface handle
13406 to [ I ] - Timeout for transaction (in milliseconds)
13407 inLen [ I ] - Length of input buffer
13408 pIn [ I ] - Input buffer
13409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13410 contain, upon output the number of BYTEs copied
13411 to pOut
13412 pOut [ O ] - Output buffer
13413
13414 RETURN VALUE:
13415 ULONG - Return code
13416 ===========================================================================*/
13417 ULONG VoiceManageIPCalls(
13418 GOBIHANDLE handle,
13419 ULONG to,
13420 ULONG inLen,
13421 const BYTE * pIn,
13422 ULONG * pOutLen,
13423 BYTE * pOut )
13424 {
13425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13426 if (pAPI == 0)
13427 {
13428 return (ULONG)eGOBI_ERR_INTERNAL;
13429 }
13430
13431 ULONG svcID = 9;
13432 ULONG msgID = 78;
13433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13434 }
13435
13436 /*===========================================================================
13437 METHOD:
13438 CAT2Reset
13439
13440 DESCRIPTION:
13441 The function sends 'CAT2/Reset Request' (0x0000)
13442 and returns the response
13443
13444 PARAMETERS:
13445 handle [ I ] - Gobi interface handle
13446 to [ I ] - Timeout for transaction (in milliseconds)
13447 inLen [ I ] - Reserved for future use (set to 0)
13448 pIn [ I ] - Reserved for future use (set to 0)
13449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13450 contain, upon output the number of BYTEs copied
13451 to pOut
13452 pOut [ O ] - Output buffer
13453
13454 RETURN VALUE:
13455 ULONG - Return code
13456 ===========================================================================*/
13457 ULONG CAT2Reset(
13458 GOBIHANDLE handle,
13459 ULONG to,
13460 ULONG inLen,
13461 const BYTE * pIn,
13462 ULONG * pOutLen,
13463 BYTE * pOut )
13464 {
13465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13466 if (pAPI == 0)
13467 {
13468 return (ULONG)eGOBI_ERR_INTERNAL;
13469 }
13470
13471 ULONG svcID = 10;
13472 ULONG msgID = 0;
13473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13474 }
13475
13476 /*===========================================================================
13477 METHOD:
13478 CAT2SetEventReport
13479
13480 DESCRIPTION:
13481 The function sends 'CAT2/Set Event Report Request' (0x0001)
13482 and returns the response
13483
13484 PARAMETERS:
13485 handle [ I ] - Gobi interface handle
13486 to [ I ] - Timeout for transaction (in milliseconds)
13487 inLen [ I ] - Length of input buffer
13488 pIn [ I ] - Input buffer
13489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13490 contain, upon output the number of BYTEs copied
13491 to pOut
13492 pOut [ O ] - Output buffer
13493
13494 RETURN VALUE:
13495 ULONG - Return code
13496 ===========================================================================*/
13497 ULONG CAT2SetEventReport(
13498 GOBIHANDLE handle,
13499 ULONG to,
13500 ULONG inLen,
13501 const BYTE * pIn,
13502 ULONG * pOutLen,
13503 BYTE * pOut )
13504 {
13505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13506 if (pAPI == 0)
13507 {
13508 return (ULONG)eGOBI_ERR_INTERNAL;
13509 }
13510
13511 ULONG svcID = 10;
13512 ULONG msgID = 1;
13513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13514 }
13515
13516 /*===========================================================================
13517 METHOD:
13518 CAT2GetServiceState
13519
13520 DESCRIPTION:
13521 The function sends 'CAT2/Get Service State Request' (0x0020)
13522 and returns the response
13523
13524 PARAMETERS:
13525 handle [ I ] - Gobi interface handle
13526 to [ I ] - Timeout for transaction (in milliseconds)
13527 inLen [ I ] - Reserved for future use (set to 0)
13528 pIn [ I ] - Reserved for future use (set to 0)
13529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13530 contain, upon output the number of BYTEs copied
13531 to pOut
13532 pOut [ O ] - Output buffer
13533
13534 RETURN VALUE:
13535 ULONG - Return code
13536 ===========================================================================*/
13537 ULONG CAT2GetServiceState(
13538 GOBIHANDLE handle,
13539 ULONG to,
13540 ULONG inLen,
13541 const BYTE * pIn,
13542 ULONG * pOutLen,
13543 BYTE * pOut )
13544 {
13545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13546 if (pAPI == 0)
13547 {
13548 return (ULONG)eGOBI_ERR_INTERNAL;
13549 }
13550
13551 ULONG svcID = 10;
13552 ULONG msgID = 32;
13553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13554 }
13555
13556 /*===========================================================================
13557 METHOD:
13558 CAT2SendTerminalResponse
13559
13560 DESCRIPTION:
13561 The function sends 'CAT2/Send Terminal Response Request' (0x0021)
13562 and returns the response
13563
13564 PARAMETERS:
13565 handle [ I ] - Gobi interface handle
13566 to [ I ] - Timeout for transaction (in milliseconds)
13567 inLen [ I ] - Length of input buffer
13568 pIn [ I ] - Input buffer
13569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13570 contain, upon output the number of BYTEs copied
13571 to pOut
13572 pOut [ O ] - Output buffer
13573
13574 RETURN VALUE:
13575 ULONG - Return code
13576 ===========================================================================*/
13577 ULONG CAT2SendTerminalResponse(
13578 GOBIHANDLE handle,
13579 ULONG to,
13580 ULONG inLen,
13581 const BYTE * pIn,
13582 ULONG * pOutLen,
13583 BYTE * pOut )
13584 {
13585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13586 if (pAPI == 0)
13587 {
13588 return (ULONG)eGOBI_ERR_INTERNAL;
13589 }
13590
13591 ULONG svcID = 10;
13592 ULONG msgID = 33;
13593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13594 }
13595
13596 /*===========================================================================
13597 METHOD:
13598 CAT2EnvelopeCommand
13599
13600 DESCRIPTION:
13601 The function sends 'CAT2/Envelope Command Request' (0x0022)
13602 and returns the response
13603
13604 PARAMETERS:
13605 handle [ I ] - Gobi interface handle
13606 to [ I ] - Timeout for transaction (in milliseconds)
13607 inLen [ I ] - Length of input buffer
13608 pIn [ I ] - Input buffer
13609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13610 contain, upon output the number of BYTEs copied
13611 to pOut
13612 pOut [ O ] - Output buffer
13613
13614 RETURN VALUE:
13615 ULONG - Return code
13616 ===========================================================================*/
13617 ULONG CAT2EnvelopeCommand(
13618 GOBIHANDLE handle,
13619 ULONG to,
13620 ULONG inLen,
13621 const BYTE * pIn,
13622 ULONG * pOutLen,
13623 BYTE * pOut )
13624 {
13625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13626 if (pAPI == 0)
13627 {
13628 return (ULONG)eGOBI_ERR_INTERNAL;
13629 }
13630
13631 ULONG svcID = 10;
13632 ULONG msgID = 34;
13633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13634 }
13635
13636 /*===========================================================================
13637 METHOD:
13638 CAT2GetEventReport
13639
13640 DESCRIPTION:
13641 The function sends 'CAT2/Get Event Report Request' (0x0023)
13642 and returns the response
13643
13644 PARAMETERS:
13645 handle [ I ] - Gobi interface handle
13646 to [ I ] - Timeout for transaction (in milliseconds)
13647 inLen [ I ] - Length of input buffer
13648 pIn [ I ] - Input buffer
13649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13650 contain, upon output the number of BYTEs copied
13651 to pOut
13652 pOut [ O ] - Output buffer
13653
13654 RETURN VALUE:
13655 ULONG - Return code
13656 ===========================================================================*/
13657 ULONG CAT2GetEventReport(
13658 GOBIHANDLE handle,
13659 ULONG to,
13660 ULONG inLen,
13661 const BYTE * pIn,
13662 ULONG * pOutLen,
13663 BYTE * pOut )
13664 {
13665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13666 if (pAPI == 0)
13667 {
13668 return (ULONG)eGOBI_ERR_INTERNAL;
13669 }
13670
13671 ULONG svcID = 10;
13672 ULONG msgID = 35;
13673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13674 }
13675
13676 /*===========================================================================
13677 METHOD:
13678 CAT2SendDecodedTerminalResponse
13679
13680 DESCRIPTION:
13681 The function sends 'CAT2/Send Decoded Terminal Response Request' (0x0024)
13682 and returns the response
13683
13684 PARAMETERS:
13685 handle [ I ] - Gobi interface handle
13686 to [ I ] - Timeout for transaction (in milliseconds)
13687 inLen [ I ] - Length of input buffer
13688 pIn [ I ] - Input buffer
13689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13690 contain, upon output the number of BYTEs copied
13691 to pOut
13692 pOut [ O ] - Output buffer
13693
13694 RETURN VALUE:
13695 ULONG - Return code
13696 ===========================================================================*/
13697 ULONG CAT2SendDecodedTerminalResponse(
13698 GOBIHANDLE handle,
13699 ULONG to,
13700 ULONG inLen,
13701 const BYTE * pIn,
13702 ULONG * pOutLen,
13703 BYTE * pOut )
13704 {
13705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13706 if (pAPI == 0)
13707 {
13708 return (ULONG)eGOBI_ERR_INTERNAL;
13709 }
13710
13711 ULONG svcID = 10;
13712 ULONG msgID = 36;
13713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13714 }
13715
13716 /*===========================================================================
13717 METHOD:
13718 CAT2SendDecodedEnvelopeCommand
13719
13720 DESCRIPTION:
13721 The function sends 'CAT2/Send Decoded Envelope Command Request' (0x0025)
13722 and returns the response
13723
13724 PARAMETERS:
13725 handle [ I ] - Gobi interface handle
13726 to [ I ] - Timeout for transaction (in milliseconds)
13727 inLen [ I ] - Length of input buffer
13728 pIn [ I ] - Input buffer
13729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13730 contain, upon output the number of BYTEs copied
13731 to pOut
13732 pOut [ O ] - Output buffer
13733
13734 RETURN VALUE:
13735 ULONG - Return code
13736 ===========================================================================*/
13737 ULONG CAT2SendDecodedEnvelopeCommand(
13738 GOBIHANDLE handle,
13739 ULONG to,
13740 ULONG inLen,
13741 const BYTE * pIn,
13742 ULONG * pOutLen,
13743 BYTE * pOut )
13744 {
13745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13746 if (pAPI == 0)
13747 {
13748 return (ULONG)eGOBI_ERR_INTERNAL;
13749 }
13750
13751 ULONG svcID = 10;
13752 ULONG msgID = 37;
13753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13754 }
13755
13756 /*===========================================================================
13757 METHOD:
13758 CAT2EventConfirmation
13759
13760 DESCRIPTION:
13761 The function sends 'CAT2/Event Confirmation Request' (0x0026)
13762 and returns the response
13763
13764 PARAMETERS:
13765 handle [ I ] - Gobi interface handle
13766 to [ I ] - Timeout for transaction (in milliseconds)
13767 inLen [ I ] - Length of input buffer
13768 pIn [ I ] - Input buffer
13769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13770 contain, upon output the number of BYTEs copied
13771 to pOut
13772 pOut [ O ] - Output buffer
13773
13774 RETURN VALUE:
13775 ULONG - Return code
13776 ===========================================================================*/
13777 ULONG CAT2EventConfirmation(
13778 GOBIHANDLE handle,
13779 ULONG to,
13780 ULONG inLen,
13781 const BYTE * pIn,
13782 ULONG * pOutLen,
13783 BYTE * pOut )
13784 {
13785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13786 if (pAPI == 0)
13787 {
13788 return (ULONG)eGOBI_ERR_INTERNAL;
13789 }
13790
13791 ULONG svcID = 10;
13792 ULONG msgID = 38;
13793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13794 }
13795
13796 /*===========================================================================
13797 METHOD:
13798 CAT2SCWSOpenChannel
13799
13800 DESCRIPTION:
13801 The function sends 'CAT2/SCWS Open Channel Request' (0x0027)
13802 and returns the response
13803
13804 PARAMETERS:
13805 handle [ I ] - Gobi interface handle
13806 to [ I ] - Timeout for transaction (in milliseconds)
13807 inLen [ I ] - Length of input buffer
13808 pIn [ I ] - Input buffer
13809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13810 contain, upon output the number of BYTEs copied
13811 to pOut
13812 pOut [ O ] - Output buffer
13813
13814 RETURN VALUE:
13815 ULONG - Return code
13816 ===========================================================================*/
13817 ULONG CAT2SCWSOpenChannel(
13818 GOBIHANDLE handle,
13819 ULONG to,
13820 ULONG inLen,
13821 const BYTE * pIn,
13822 ULONG * pOutLen,
13823 BYTE * pOut )
13824 {
13825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13826 if (pAPI == 0)
13827 {
13828 return (ULONG)eGOBI_ERR_INTERNAL;
13829 }
13830
13831 ULONG svcID = 10;
13832 ULONG msgID = 39;
13833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13834 }
13835
13836 /*===========================================================================
13837 METHOD:
13838 CAT2SCWSCloseChannel
13839
13840 DESCRIPTION:
13841 The function sends 'CAT2/SCWS Close Channel Request' (0x0028)
13842 and returns the response
13843
13844 PARAMETERS:
13845 handle [ I ] - Gobi interface handle
13846 to [ I ] - Timeout for transaction (in milliseconds)
13847 inLen [ I ] - Length of input buffer
13848 pIn [ I ] - Input buffer
13849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13850 contain, upon output the number of BYTEs copied
13851 to pOut
13852 pOut [ O ] - Output buffer
13853
13854 RETURN VALUE:
13855 ULONG - Return code
13856 ===========================================================================*/
13857 ULONG CAT2SCWSCloseChannel(
13858 GOBIHANDLE handle,
13859 ULONG to,
13860 ULONG inLen,
13861 const BYTE * pIn,
13862 ULONG * pOutLen,
13863 BYTE * pOut )
13864 {
13865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13866 if (pAPI == 0)
13867 {
13868 return (ULONG)eGOBI_ERR_INTERNAL;
13869 }
13870
13871 ULONG svcID = 10;
13872 ULONG msgID = 40;
13873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13874 }
13875
13876 /*===========================================================================
13877 METHOD:
13878 CAT2SCWSSendData
13879
13880 DESCRIPTION:
13881 The function sends 'CAT2/SCWS Send Data Request' (0x0029)
13882 and returns the response
13883
13884 PARAMETERS:
13885 handle [ I ] - Gobi interface handle
13886 to [ I ] - Timeout for transaction (in milliseconds)
13887 inLen [ I ] - Length of input buffer
13888 pIn [ I ] - Input buffer
13889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13890 contain, upon output the number of BYTEs copied
13891 to pOut
13892 pOut [ O ] - Output buffer
13893
13894 RETURN VALUE:
13895 ULONG - Return code
13896 ===========================================================================*/
13897 ULONG CAT2SCWSSendData(
13898 GOBIHANDLE handle,
13899 ULONG to,
13900 ULONG inLen,
13901 const BYTE * pIn,
13902 ULONG * pOutLen,
13903 BYTE * pOut )
13904 {
13905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13906 if (pAPI == 0)
13907 {
13908 return (ULONG)eGOBI_ERR_INTERNAL;
13909 }
13910
13911 ULONG svcID = 10;
13912 ULONG msgID = 41;
13913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13914 }
13915
13916 /*===========================================================================
13917 METHOD:
13918 CAT2SCWSDataAvailable
13919
13920 DESCRIPTION:
13921 The function sends 'CAT2/SCWS Data Available Request' (0x002A)
13922 and returns the response
13923
13924 PARAMETERS:
13925 handle [ I ] - Gobi interface handle
13926 to [ I ] - Timeout for transaction (in milliseconds)
13927 inLen [ I ] - Length of input buffer
13928 pIn [ I ] - Input buffer
13929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13930 contain, upon output the number of BYTEs copied
13931 to pOut
13932 pOut [ O ] - Output buffer
13933
13934 RETURN VALUE:
13935 ULONG - Return code
13936 ===========================================================================*/
13937 ULONG CAT2SCWSDataAvailable(
13938 GOBIHANDLE handle,
13939 ULONG to,
13940 ULONG inLen,
13941 const BYTE * pIn,
13942 ULONG * pOutLen,
13943 BYTE * pOut )
13944 {
13945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13946 if (pAPI == 0)
13947 {
13948 return (ULONG)eGOBI_ERR_INTERNAL;
13949 }
13950
13951 ULONG svcID = 10;
13952 ULONG msgID = 42;
13953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13954 }
13955
13956 /*===========================================================================
13957 METHOD:
13958 CAT2SCWSChannelStatus
13959
13960 DESCRIPTION:
13961 The function sends 'CAT2/SCWS Channel Status Request' (0x002B)
13962 and returns the response
13963
13964 PARAMETERS:
13965 handle [ I ] - Gobi interface handle
13966 to [ I ] - Timeout for transaction (in milliseconds)
13967 inLen [ I ] - Length of input buffer
13968 pIn [ I ] - Input buffer
13969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
13970 contain, upon output the number of BYTEs copied
13971 to pOut
13972 pOut [ O ] - Output buffer
13973
13974 RETURN VALUE:
13975 ULONG - Return code
13976 ===========================================================================*/
13977 ULONG CAT2SCWSChannelStatus(
13978 GOBIHANDLE handle,
13979 ULONG to,
13980 ULONG inLen,
13981 const BYTE * pIn,
13982 ULONG * pOutLen,
13983 BYTE * pOut )
13984 {
13985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
13986 if (pAPI == 0)
13987 {
13988 return (ULONG)eGOBI_ERR_INTERNAL;
13989 }
13990
13991 ULONG svcID = 10;
13992 ULONG msgID = 43;
13993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
13994 }
13995
13996 /*===========================================================================
13997 METHOD:
13998 CAT2GetTerminalProfile
13999
14000 DESCRIPTION:
14001 The function sends 'CAT2/Get Terminal Profile Request' (0x002C)
14002 and returns the response
14003
14004 PARAMETERS:
14005 handle [ I ] - Gobi interface handle
14006 to [ I ] - Timeout for transaction (in milliseconds)
14007 inLen [ I ] - Length of input buffer
14008 pIn [ I ] - Input buffer
14009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14010 contain, upon output the number of BYTEs copied
14011 to pOut
14012 pOut [ O ] - Output buffer
14013
14014 RETURN VALUE:
14015 ULONG - Return code
14016 ===========================================================================*/
14017 ULONG CAT2GetTerminalProfile(
14018 GOBIHANDLE handle,
14019 ULONG to,
14020 ULONG inLen,
14021 const BYTE * pIn,
14022 ULONG * pOutLen,
14023 BYTE * pOut )
14024 {
14025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14026 if (pAPI == 0)
14027 {
14028 return (ULONG)eGOBI_ERR_INTERNAL;
14029 }
14030
14031 ULONG svcID = 10;
14032 ULONG msgID = 44;
14033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14034 }
14035
14036 /*===========================================================================
14037 METHOD:
14038 CAT2SetConfiguration
14039
14040 DESCRIPTION:
14041 The function sends 'CAT2/Set Configuration Request' (0x002D)
14042 and returns the response
14043
14044 PARAMETERS:
14045 handle [ I ] - Gobi interface handle
14046 to [ I ] - Timeout for transaction (in milliseconds)
14047 inLen [ I ] - Length of input buffer
14048 pIn [ I ] - Input buffer
14049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14050 contain, upon output the number of BYTEs copied
14051 to pOut
14052 pOut [ O ] - Output buffer
14053
14054 RETURN VALUE:
14055 ULONG - Return code
14056 ===========================================================================*/
14057 ULONG CAT2SetConfiguration(
14058 GOBIHANDLE handle,
14059 ULONG to,
14060 ULONG inLen,
14061 const BYTE * pIn,
14062 ULONG * pOutLen,
14063 BYTE * pOut )
14064 {
14065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14066 if (pAPI == 0)
14067 {
14068 return (ULONG)eGOBI_ERR_INTERNAL;
14069 }
14070
14071 ULONG svcID = 10;
14072 ULONG msgID = 45;
14073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14074 }
14075
14076 /*===========================================================================
14077 METHOD:
14078 CAT2GetConfiguration
14079
14080 DESCRIPTION:
14081 The function sends 'CAT2/Get Configuration Request' (0x002E)
14082 and returns the response
14083
14084 PARAMETERS:
14085 handle [ I ] - Gobi interface handle
14086 to [ I ] - Timeout for transaction (in milliseconds)
14087 inLen [ I ] - Reserved for future use (set to 0)
14088 pIn [ I ] - Reserved for future use (set to 0)
14089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14090 contain, upon output the number of BYTEs copied
14091 to pOut
14092 pOut [ O ] - Output buffer
14093
14094 RETURN VALUE:
14095 ULONG - Return code
14096 ===========================================================================*/
14097 ULONG CAT2GetConfiguration(
14098 GOBIHANDLE handle,
14099 ULONG to,
14100 ULONG inLen,
14101 const BYTE * pIn,
14102 ULONG * pOutLen,
14103 BYTE * pOut )
14104 {
14105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14106 if (pAPI == 0)
14107 {
14108 return (ULONG)eGOBI_ERR_INTERNAL;
14109 }
14110
14111 ULONG svcID = 10;
14112 ULONG msgID = 46;
14113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14114 }
14115
14116 /*===========================================================================
14117 METHOD:
14118 UIMReset
14119
14120 DESCRIPTION:
14121 The function sends 'UIM/Reset Request' (0x0000)
14122 and returns the response
14123
14124 PARAMETERS:
14125 handle [ I ] - Gobi interface handle
14126 to [ I ] - Timeout for transaction (in milliseconds)
14127 inLen [ I ] - Reserved for future use (set to 0)
14128 pIn [ I ] - Reserved for future use (set to 0)
14129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14130 contain, upon output the number of BYTEs copied
14131 to pOut
14132 pOut [ O ] - Output buffer
14133
14134 RETURN VALUE:
14135 ULONG - Return code
14136 ===========================================================================*/
14137 ULONG UIMReset(
14138 GOBIHANDLE handle,
14139 ULONG to,
14140 ULONG inLen,
14141 const BYTE * pIn,
14142 ULONG * pOutLen,
14143 BYTE * pOut )
14144 {
14145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14146 if (pAPI == 0)
14147 {
14148 return (ULONG)eGOBI_ERR_INTERNAL;
14149 }
14150
14151 ULONG svcID = 11;
14152 ULONG msgID = 0;
14153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14154 }
14155
14156 /*===========================================================================
14157 METHOD:
14158 UIMReadTransparent
14159
14160 DESCRIPTION:
14161 The function sends 'UIM/Read Transparent Request' (0x0020)
14162 and returns the response
14163
14164 PARAMETERS:
14165 handle [ I ] - Gobi interface handle
14166 to [ I ] - Timeout for transaction (in milliseconds)
14167 inLen [ I ] - Length of input buffer
14168 pIn [ I ] - Input buffer
14169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14170 contain, upon output the number of BYTEs copied
14171 to pOut
14172 pOut [ O ] - Output buffer
14173
14174 RETURN VALUE:
14175 ULONG - Return code
14176 ===========================================================================*/
14177 ULONG UIMReadTransparent(
14178 GOBIHANDLE handle,
14179 ULONG to,
14180 ULONG inLen,
14181 const BYTE * pIn,
14182 ULONG * pOutLen,
14183 BYTE * pOut )
14184 {
14185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14186 if (pAPI == 0)
14187 {
14188 return (ULONG)eGOBI_ERR_INTERNAL;
14189 }
14190
14191 ULONG svcID = 11;
14192 ULONG msgID = 32;
14193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14194 }
14195
14196 /*===========================================================================
14197 METHOD:
14198 UIMReadRecord
14199
14200 DESCRIPTION:
14201 The function sends 'UIM/Read Record Request' (0x0021)
14202 and returns the response
14203
14204 PARAMETERS:
14205 handle [ I ] - Gobi interface handle
14206 to [ I ] - Timeout for transaction (in milliseconds)
14207 inLen [ I ] - Length of input buffer
14208 pIn [ I ] - Input buffer
14209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14210 contain, upon output the number of BYTEs copied
14211 to pOut
14212 pOut [ O ] - Output buffer
14213
14214 RETURN VALUE:
14215 ULONG - Return code
14216 ===========================================================================*/
14217 ULONG UIMReadRecord(
14218 GOBIHANDLE handle,
14219 ULONG to,
14220 ULONG inLen,
14221 const BYTE * pIn,
14222 ULONG * pOutLen,
14223 BYTE * pOut )
14224 {
14225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14226 if (pAPI == 0)
14227 {
14228 return (ULONG)eGOBI_ERR_INTERNAL;
14229 }
14230
14231 ULONG svcID = 11;
14232 ULONG msgID = 33;
14233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14234 }
14235
14236 /*===========================================================================
14237 METHOD:
14238 UIMWriteTransparent
14239
14240 DESCRIPTION:
14241 The function sends 'UIM/Write Transparent Request' (0x0022)
14242 and returns the response
14243
14244 PARAMETERS:
14245 handle [ I ] - Gobi interface handle
14246 to [ I ] - Timeout for transaction (in milliseconds)
14247 inLen [ I ] - Length of input buffer
14248 pIn [ I ] - Input buffer
14249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14250 contain, upon output the number of BYTEs copied
14251 to pOut
14252 pOut [ O ] - Output buffer
14253
14254 RETURN VALUE:
14255 ULONG - Return code
14256 ===========================================================================*/
14257 ULONG UIMWriteTransparent(
14258 GOBIHANDLE handle,
14259 ULONG to,
14260 ULONG inLen,
14261 const BYTE * pIn,
14262 ULONG * pOutLen,
14263 BYTE * pOut )
14264 {
14265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14266 if (pAPI == 0)
14267 {
14268 return (ULONG)eGOBI_ERR_INTERNAL;
14269 }
14270
14271 ULONG svcID = 11;
14272 ULONG msgID = 34;
14273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14274 }
14275
14276 /*===========================================================================
14277 METHOD:
14278 UIMWriteRecord
14279
14280 DESCRIPTION:
14281 The function sends 'UIM/Write Record Request' (0x0023)
14282 and returns the response
14283
14284 PARAMETERS:
14285 handle [ I ] - Gobi interface handle
14286 to [ I ] - Timeout for transaction (in milliseconds)
14287 inLen [ I ] - Length of input buffer
14288 pIn [ I ] - Input buffer
14289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14290 contain, upon output the number of BYTEs copied
14291 to pOut
14292 pOut [ O ] - Output buffer
14293
14294 RETURN VALUE:
14295 ULONG - Return code
14296 ===========================================================================*/
14297 ULONG UIMWriteRecord(
14298 GOBIHANDLE handle,
14299 ULONG to,
14300 ULONG inLen,
14301 const BYTE * pIn,
14302 ULONG * pOutLen,
14303 BYTE * pOut )
14304 {
14305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14306 if (pAPI == 0)
14307 {
14308 return (ULONG)eGOBI_ERR_INTERNAL;
14309 }
14310
14311 ULONG svcID = 11;
14312 ULONG msgID = 35;
14313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14314 }
14315
14316 /*===========================================================================
14317 METHOD:
14318 UIMGetFileAttributes
14319
14320 DESCRIPTION:
14321 The function sends 'UIM/Get File Attributes Request' (0x0024)
14322 and returns the response
14323
14324 PARAMETERS:
14325 handle [ I ] - Gobi interface handle
14326 to [ I ] - Timeout for transaction (in milliseconds)
14327 inLen [ I ] - Length of input buffer
14328 pIn [ I ] - Input buffer
14329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14330 contain, upon output the number of BYTEs copied
14331 to pOut
14332 pOut [ O ] - Output buffer
14333
14334 RETURN VALUE:
14335 ULONG - Return code
14336 ===========================================================================*/
14337 ULONG UIMGetFileAttributes(
14338 GOBIHANDLE handle,
14339 ULONG to,
14340 ULONG inLen,
14341 const BYTE * pIn,
14342 ULONG * pOutLen,
14343 BYTE * pOut )
14344 {
14345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14346 if (pAPI == 0)
14347 {
14348 return (ULONG)eGOBI_ERR_INTERNAL;
14349 }
14350
14351 ULONG svcID = 11;
14352 ULONG msgID = 36;
14353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14354 }
14355
14356 /*===========================================================================
14357 METHOD:
14358 UIMSetPINProtection
14359
14360 DESCRIPTION:
14361 The function sends 'UIM/Set PIN Protection Request' (0x0025)
14362 and returns the response
14363
14364 PARAMETERS:
14365 handle [ I ] - Gobi interface handle
14366 to [ I ] - Timeout for transaction (in milliseconds)
14367 inLen [ I ] - Length of input buffer
14368 pIn [ I ] - Input buffer
14369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14370 contain, upon output the number of BYTEs copied
14371 to pOut
14372 pOut [ O ] - Output buffer
14373
14374 RETURN VALUE:
14375 ULONG - Return code
14376 ===========================================================================*/
14377 ULONG UIMSetPINProtection(
14378 GOBIHANDLE handle,
14379 ULONG to,
14380 ULONG inLen,
14381 const BYTE * pIn,
14382 ULONG * pOutLen,
14383 BYTE * pOut )
14384 {
14385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14386 if (pAPI == 0)
14387 {
14388 return (ULONG)eGOBI_ERR_INTERNAL;
14389 }
14390
14391 ULONG svcID = 11;
14392 ULONG msgID = 37;
14393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14394 }
14395
14396 /*===========================================================================
14397 METHOD:
14398 UIMVerifyPIN
14399
14400 DESCRIPTION:
14401 The function sends 'UIM/Verify PIN Request' (0x0026)
14402 and returns the response
14403
14404 PARAMETERS:
14405 handle [ I ] - Gobi interface handle
14406 to [ I ] - Timeout for transaction (in milliseconds)
14407 inLen [ I ] - Length of input buffer
14408 pIn [ I ] - Input buffer
14409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14410 contain, upon output the number of BYTEs copied
14411 to pOut
14412 pOut [ O ] - Output buffer
14413
14414 RETURN VALUE:
14415 ULONG - Return code
14416 ===========================================================================*/
14417 ULONG UIMVerifyPIN(
14418 GOBIHANDLE handle,
14419 ULONG to,
14420 ULONG inLen,
14421 const BYTE * pIn,
14422 ULONG * pOutLen,
14423 BYTE * pOut )
14424 {
14425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14426 if (pAPI == 0)
14427 {
14428 return (ULONG)eGOBI_ERR_INTERNAL;
14429 }
14430
14431 ULONG svcID = 11;
14432 ULONG msgID = 38;
14433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14434 }
14435
14436 /*===========================================================================
14437 METHOD:
14438 UIMUnblockPIN
14439
14440 DESCRIPTION:
14441 The function sends 'UIM/Unblock PIN Request' (0x0027)
14442 and returns the response
14443
14444 PARAMETERS:
14445 handle [ I ] - Gobi interface handle
14446 to [ I ] - Timeout for transaction (in milliseconds)
14447 inLen [ I ] - Length of input buffer
14448 pIn [ I ] - Input buffer
14449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14450 contain, upon output the number of BYTEs copied
14451 to pOut
14452 pOut [ O ] - Output buffer
14453
14454 RETURN VALUE:
14455 ULONG - Return code
14456 ===========================================================================*/
14457 ULONG UIMUnblockPIN(
14458 GOBIHANDLE handle,
14459 ULONG to,
14460 ULONG inLen,
14461 const BYTE * pIn,
14462 ULONG * pOutLen,
14463 BYTE * pOut )
14464 {
14465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14466 if (pAPI == 0)
14467 {
14468 return (ULONG)eGOBI_ERR_INTERNAL;
14469 }
14470
14471 ULONG svcID = 11;
14472 ULONG msgID = 39;
14473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14474 }
14475
14476 /*===========================================================================
14477 METHOD:
14478 UIMChangePIN
14479
14480 DESCRIPTION:
14481 The function sends 'UIM/Change PIN Request' (0x0028)
14482 and returns the response
14483
14484 PARAMETERS:
14485 handle [ I ] - Gobi interface handle
14486 to [ I ] - Timeout for transaction (in milliseconds)
14487 inLen [ I ] - Length of input buffer
14488 pIn [ I ] - Input buffer
14489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14490 contain, upon output the number of BYTEs copied
14491 to pOut
14492 pOut [ O ] - Output buffer
14493
14494 RETURN VALUE:
14495 ULONG - Return code
14496 ===========================================================================*/
14497 ULONG UIMChangePIN(
14498 GOBIHANDLE handle,
14499 ULONG to,
14500 ULONG inLen,
14501 const BYTE * pIn,
14502 ULONG * pOutLen,
14503 BYTE * pOut )
14504 {
14505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14506 if (pAPI == 0)
14507 {
14508 return (ULONG)eGOBI_ERR_INTERNAL;
14509 }
14510
14511 ULONG svcID = 11;
14512 ULONG msgID = 40;
14513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14514 }
14515
14516 /*===========================================================================
14517 METHOD:
14518 UIMDepersonalization
14519
14520 DESCRIPTION:
14521 The function sends 'UIM/Depersonalization Request' (0x0029)
14522 and returns the response
14523
14524 PARAMETERS:
14525 handle [ I ] - Gobi interface handle
14526 to [ I ] - Timeout for transaction (in milliseconds)
14527 inLen [ I ] - Length of input buffer
14528 pIn [ I ] - Input buffer
14529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14530 contain, upon output the number of BYTEs copied
14531 to pOut
14532 pOut [ O ] - Output buffer
14533
14534 RETURN VALUE:
14535 ULONG - Return code
14536 ===========================================================================*/
14537 ULONG UIMDepersonalization(
14538 GOBIHANDLE handle,
14539 ULONG to,
14540 ULONG inLen,
14541 const BYTE * pIn,
14542 ULONG * pOutLen,
14543 BYTE * pOut )
14544 {
14545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14546 if (pAPI == 0)
14547 {
14548 return (ULONG)eGOBI_ERR_INTERNAL;
14549 }
14550
14551 ULONG svcID = 11;
14552 ULONG msgID = 41;
14553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14554 }
14555
14556 /*===========================================================================
14557 METHOD:
14558 UIMRefreshRegister
14559
14560 DESCRIPTION:
14561 The function sends 'UIM/Refresh Register Request' (0x002A)
14562 and returns the response
14563
14564 PARAMETERS:
14565 handle [ I ] - Gobi interface handle
14566 to [ I ] - Timeout for transaction (in milliseconds)
14567 inLen [ I ] - Length of input buffer
14568 pIn [ I ] - Input buffer
14569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14570 contain, upon output the number of BYTEs copied
14571 to pOut
14572 pOut [ O ] - Output buffer
14573
14574 RETURN VALUE:
14575 ULONG - Return code
14576 ===========================================================================*/
14577 ULONG UIMRefreshRegister(
14578 GOBIHANDLE handle,
14579 ULONG to,
14580 ULONG inLen,
14581 const BYTE * pIn,
14582 ULONG * pOutLen,
14583 BYTE * pOut )
14584 {
14585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14586 if (pAPI == 0)
14587 {
14588 return (ULONG)eGOBI_ERR_INTERNAL;
14589 }
14590
14591 ULONG svcID = 11;
14592 ULONG msgID = 42;
14593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14594 }
14595
14596 /*===========================================================================
14597 METHOD:
14598 UIMRefreshOK
14599
14600 DESCRIPTION:
14601 The function sends 'UIM/Refresh OK Request' (0x002B)
14602 and returns the response
14603
14604 PARAMETERS:
14605 handle [ I ] - Gobi interface handle
14606 to [ I ] - Timeout for transaction (in milliseconds)
14607 inLen [ I ] - Length of input buffer
14608 pIn [ I ] - Input buffer
14609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14610 contain, upon output the number of BYTEs copied
14611 to pOut
14612 pOut [ O ] - Output buffer
14613
14614 RETURN VALUE:
14615 ULONG - Return code
14616 ===========================================================================*/
14617 ULONG UIMRefreshOK(
14618 GOBIHANDLE handle,
14619 ULONG to,
14620 ULONG inLen,
14621 const BYTE * pIn,
14622 ULONG * pOutLen,
14623 BYTE * pOut )
14624 {
14625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14626 if (pAPI == 0)
14627 {
14628 return (ULONG)eGOBI_ERR_INTERNAL;
14629 }
14630
14631 ULONG svcID = 11;
14632 ULONG msgID = 43;
14633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14634 }
14635
14636 /*===========================================================================
14637 METHOD:
14638 UIMRefreshComplete
14639
14640 DESCRIPTION:
14641 The function sends 'UIM/Refresh Complete Request' (0x002C)
14642 and returns the response
14643
14644 PARAMETERS:
14645 handle [ I ] - Gobi interface handle
14646 to [ I ] - Timeout for transaction (in milliseconds)
14647 inLen [ I ] - Length of input buffer
14648 pIn [ I ] - Input buffer
14649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14650 contain, upon output the number of BYTEs copied
14651 to pOut
14652 pOut [ O ] - Output buffer
14653
14654 RETURN VALUE:
14655 ULONG - Return code
14656 ===========================================================================*/
14657 ULONG UIMRefreshComplete(
14658 GOBIHANDLE handle,
14659 ULONG to,
14660 ULONG inLen,
14661 const BYTE * pIn,
14662 ULONG * pOutLen,
14663 BYTE * pOut )
14664 {
14665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14666 if (pAPI == 0)
14667 {
14668 return (ULONG)eGOBI_ERR_INTERNAL;
14669 }
14670
14671 ULONG svcID = 11;
14672 ULONG msgID = 44;
14673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14674 }
14675
14676 /*===========================================================================
14677 METHOD:
14678 UIMGetLastRefreshEvent
14679
14680 DESCRIPTION:
14681 The function sends 'UIM/Get Last Refresh Event Request' (0x002D)
14682 and returns the response
14683
14684 PARAMETERS:
14685 handle [ I ] - Gobi interface handle
14686 to [ I ] - Timeout for transaction (in milliseconds)
14687 inLen [ I ] - Length of input buffer
14688 pIn [ I ] - Input buffer
14689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14690 contain, upon output the number of BYTEs copied
14691 to pOut
14692 pOut [ O ] - Output buffer
14693
14694 RETURN VALUE:
14695 ULONG - Return code
14696 ===========================================================================*/
14697 ULONG UIMGetLastRefreshEvent(
14698 GOBIHANDLE handle,
14699 ULONG to,
14700 ULONG inLen,
14701 const BYTE * pIn,
14702 ULONG * pOutLen,
14703 BYTE * pOut )
14704 {
14705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14706 if (pAPI == 0)
14707 {
14708 return (ULONG)eGOBI_ERR_INTERNAL;
14709 }
14710
14711 ULONG svcID = 11;
14712 ULONG msgID = 45;
14713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14714 }
14715
14716 /*===========================================================================
14717 METHOD:
14718 UIMEventRegistration
14719
14720 DESCRIPTION:
14721 The function sends 'UIM/Event Registration Request' (0x002E)
14722 and returns the response
14723
14724 PARAMETERS:
14725 handle [ I ] - Gobi interface handle
14726 to [ I ] - Timeout for transaction (in milliseconds)
14727 inLen [ I ] - Length of input buffer
14728 pIn [ I ] - Input buffer
14729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14730 contain, upon output the number of BYTEs copied
14731 to pOut
14732 pOut [ O ] - Output buffer
14733
14734 RETURN VALUE:
14735 ULONG - Return code
14736 ===========================================================================*/
14737 ULONG UIMEventRegistration(
14738 GOBIHANDLE handle,
14739 ULONG to,
14740 ULONG inLen,
14741 const BYTE * pIn,
14742 ULONG * pOutLen,
14743 BYTE * pOut )
14744 {
14745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14746 if (pAPI == 0)
14747 {
14748 return (ULONG)eGOBI_ERR_INTERNAL;
14749 }
14750
14751 ULONG svcID = 11;
14752 ULONG msgID = 46;
14753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14754 }
14755
14756 /*===========================================================================
14757 METHOD:
14758 UIMGetCardStatus
14759
14760 DESCRIPTION:
14761 The function sends 'UIM/Get Card Status Request' (0x002F)
14762 and returns the response
14763
14764 PARAMETERS:
14765 handle [ I ] - Gobi interface handle
14766 to [ I ] - Timeout for transaction (in milliseconds)
14767 inLen [ I ] - Reserved for future use (set to 0)
14768 pIn [ I ] - Reserved for future use (set to 0)
14769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14770 contain, upon output the number of BYTEs copied
14771 to pOut
14772 pOut [ O ] - Output buffer
14773
14774 RETURN VALUE:
14775 ULONG - Return code
14776 ===========================================================================*/
14777 ULONG UIMGetCardStatus(
14778 GOBIHANDLE handle,
14779 ULONG to,
14780 ULONG inLen,
14781 const BYTE * pIn,
14782 ULONG * pOutLen,
14783 BYTE * pOut )
14784 {
14785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14786 if (pAPI == 0)
14787 {
14788 return (ULONG)eGOBI_ERR_INTERNAL;
14789 }
14790
14791 ULONG svcID = 11;
14792 ULONG msgID = 47;
14793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14794 }
14795
14796 /*===========================================================================
14797 METHOD:
14798 UIMPowerDown
14799
14800 DESCRIPTION:
14801 The function sends 'UIM/Power Down Request' (0x0030)
14802 and returns the response
14803
14804 PARAMETERS:
14805 handle [ I ] - Gobi interface handle
14806 to [ I ] - Timeout for transaction (in milliseconds)
14807 inLen [ I ] - Length of input buffer
14808 pIn [ I ] - Input buffer
14809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14810 contain, upon output the number of BYTEs copied
14811 to pOut
14812 pOut [ O ] - Output buffer
14813
14814 RETURN VALUE:
14815 ULONG - Return code
14816 ===========================================================================*/
14817 ULONG UIMPowerDown(
14818 GOBIHANDLE handle,
14819 ULONG to,
14820 ULONG inLen,
14821 const BYTE * pIn,
14822 ULONG * pOutLen,
14823 BYTE * pOut )
14824 {
14825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14826 if (pAPI == 0)
14827 {
14828 return (ULONG)eGOBI_ERR_INTERNAL;
14829 }
14830
14831 ULONG svcID = 11;
14832 ULONG msgID = 48;
14833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14834 }
14835
14836 /*===========================================================================
14837 METHOD:
14838 UIMPowerUp
14839
14840 DESCRIPTION:
14841 The function sends 'UIM/Power Up Request' (0x0031)
14842 and returns the response
14843
14844 PARAMETERS:
14845 handle [ I ] - Gobi interface handle
14846 to [ I ] - Timeout for transaction (in milliseconds)
14847 inLen [ I ] - Length of input buffer
14848 pIn [ I ] - Input buffer
14849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14850 contain, upon output the number of BYTEs copied
14851 to pOut
14852 pOut [ O ] - Output buffer
14853
14854 RETURN VALUE:
14855 ULONG - Return code
14856 ===========================================================================*/
14857 ULONG UIMPowerUp(
14858 GOBIHANDLE handle,
14859 ULONG to,
14860 ULONG inLen,
14861 const BYTE * pIn,
14862 ULONG * pOutLen,
14863 BYTE * pOut )
14864 {
14865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14866 if (pAPI == 0)
14867 {
14868 return (ULONG)eGOBI_ERR_INTERNAL;
14869 }
14870
14871 ULONG svcID = 11;
14872 ULONG msgID = 49;
14873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14874 }
14875
14876 /*===========================================================================
14877 METHOD:
14878 UIMAuthenticate
14879
14880 DESCRIPTION:
14881 The function sends 'UIM/Authenticate Request' (0x0034)
14882 and returns the response
14883
14884 PARAMETERS:
14885 handle [ I ] - Gobi interface handle
14886 to [ I ] - Timeout for transaction (in milliseconds)
14887 inLen [ I ] - Length of input buffer
14888 pIn [ I ] - Input buffer
14889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14890 contain, upon output the number of BYTEs copied
14891 to pOut
14892 pOut [ O ] - Output buffer
14893
14894 RETURN VALUE:
14895 ULONG - Return code
14896 ===========================================================================*/
14897 ULONG UIMAuthenticate(
14898 GOBIHANDLE handle,
14899 ULONG to,
14900 ULONG inLen,
14901 const BYTE * pIn,
14902 ULONG * pOutLen,
14903 BYTE * pOut )
14904 {
14905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14906 if (pAPI == 0)
14907 {
14908 return (ULONG)eGOBI_ERR_INTERNAL;
14909 }
14910
14911 ULONG svcID = 11;
14912 ULONG msgID = 52;
14913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14914 }
14915
14916 /*===========================================================================
14917 METHOD:
14918 UIMCloseSession
14919
14920 DESCRIPTION:
14921 The function sends 'UIM/Close Session Request' (0x0035)
14922 and returns the response
14923
14924 PARAMETERS:
14925 handle [ I ] - Gobi interface handle
14926 to [ I ] - Timeout for transaction (in milliseconds)
14927 inLen [ I ] - Length of input buffer
14928 pIn [ I ] - Input buffer
14929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14930 contain, upon output the number of BYTEs copied
14931 to pOut
14932 pOut [ O ] - Output buffer
14933
14934 RETURN VALUE:
14935 ULONG - Return code
14936 ===========================================================================*/
14937 ULONG UIMCloseSession(
14938 GOBIHANDLE handle,
14939 ULONG to,
14940 ULONG inLen,
14941 const BYTE * pIn,
14942 ULONG * pOutLen,
14943 BYTE * pOut )
14944 {
14945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14946 if (pAPI == 0)
14947 {
14948 return (ULONG)eGOBI_ERR_INTERNAL;
14949 }
14950
14951 ULONG svcID = 11;
14952 ULONG msgID = 53;
14953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14954 }
14955
14956 /*===========================================================================
14957 METHOD:
14958 UIMGetServiceStatus
14959
14960 DESCRIPTION:
14961 The function sends 'UIM/Get Service Status Request' (0x0036)
14962 and returns the response
14963
14964 PARAMETERS:
14965 handle [ I ] - Gobi interface handle
14966 to [ I ] - Timeout for transaction (in milliseconds)
14967 inLen [ I ] - Length of input buffer
14968 pIn [ I ] - Input buffer
14969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
14970 contain, upon output the number of BYTEs copied
14971 to pOut
14972 pOut [ O ] - Output buffer
14973
14974 RETURN VALUE:
14975 ULONG - Return code
14976 ===========================================================================*/
14977 ULONG UIMGetServiceStatus(
14978 GOBIHANDLE handle,
14979 ULONG to,
14980 ULONG inLen,
14981 const BYTE * pIn,
14982 ULONG * pOutLen,
14983 BYTE * pOut )
14984 {
14985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
14986 if (pAPI == 0)
14987 {
14988 return (ULONG)eGOBI_ERR_INTERNAL;
14989 }
14990
14991 ULONG svcID = 11;
14992 ULONG msgID = 54;
14993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
14994 }
14995
14996 /*===========================================================================
14997 METHOD:
14998 UIMSetServiceStatus
14999
15000 DESCRIPTION:
15001 The function sends 'UIM/Set Service Status Request' (0x0037)
15002 and returns the response
15003
15004 PARAMETERS:
15005 handle [ I ] - Gobi interface handle
15006 to [ I ] - Timeout for transaction (in milliseconds)
15007 inLen [ I ] - Length of input buffer
15008 pIn [ I ] - Input buffer
15009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15010 contain, upon output the number of BYTEs copied
15011 to pOut
15012 pOut [ O ] - Output buffer
15013
15014 RETURN VALUE:
15015 ULONG - Return code
15016 ===========================================================================*/
15017 ULONG UIMSetServiceStatus(
15018 GOBIHANDLE handle,
15019 ULONG to,
15020 ULONG inLen,
15021 const BYTE * pIn,
15022 ULONG * pOutLen,
15023 BYTE * pOut )
15024 {
15025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15026 if (pAPI == 0)
15027 {
15028 return (ULONG)eGOBI_ERR_INTERNAL;
15029 }
15030
15031 ULONG svcID = 11;
15032 ULONG msgID = 55;
15033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15034 }
15035
15036 /*===========================================================================
15037 METHOD:
15038 UIMChangeProvisioningSession
15039
15040 DESCRIPTION:
15041 The function sends 'UIM/Change Provisioning Session Request' (0x0038)
15042 and returns the response
15043
15044 PARAMETERS:
15045 handle [ I ] - Gobi interface handle
15046 to [ I ] - Timeout for transaction (in milliseconds)
15047 inLen [ I ] - Length of input buffer
15048 pIn [ I ] - Input buffer
15049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15050 contain, upon output the number of BYTEs copied
15051 to pOut
15052 pOut [ O ] - Output buffer
15053
15054 RETURN VALUE:
15055 ULONG - Return code
15056 ===========================================================================*/
15057 ULONG UIMChangeProvisioningSession(
15058 GOBIHANDLE handle,
15059 ULONG to,
15060 ULONG inLen,
15061 const BYTE * pIn,
15062 ULONG * pOutLen,
15063 BYTE * pOut )
15064 {
15065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15066 if (pAPI == 0)
15067 {
15068 return (ULONG)eGOBI_ERR_INTERNAL;
15069 }
15070
15071 ULONG svcID = 11;
15072 ULONG msgID = 56;
15073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15074 }
15075
15076 /*===========================================================================
15077 METHOD:
15078 UIMGetLabel
15079
15080 DESCRIPTION:
15081 The function sends 'UIM/Get Label Request' (0x0039)
15082 and returns the response
15083
15084 PARAMETERS:
15085 handle [ I ] - Gobi interface handle
15086 to [ I ] - Timeout for transaction (in milliseconds)
15087 inLen [ I ] - Length of input buffer
15088 pIn [ I ] - Input buffer
15089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15090 contain, upon output the number of BYTEs copied
15091 to pOut
15092 pOut [ O ] - Output buffer
15093
15094 RETURN VALUE:
15095 ULONG - Return code
15096 ===========================================================================*/
15097 ULONG UIMGetLabel(
15098 GOBIHANDLE handle,
15099 ULONG to,
15100 ULONG inLen,
15101 const BYTE * pIn,
15102 ULONG * pOutLen,
15103 BYTE * pOut )
15104 {
15105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15106 if (pAPI == 0)
15107 {
15108 return (ULONG)eGOBI_ERR_INTERNAL;
15109 }
15110
15111 ULONG svcID = 11;
15112 ULONG msgID = 57;
15113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15114 }
15115
15116 /*===========================================================================
15117 METHOD:
15118 UIMGetConfiguration
15119
15120 DESCRIPTION:
15121 The function sends 'UIM/Get Configuration Request' (0x003A)
15122 and returns the response
15123
15124 PARAMETERS:
15125 handle [ I ] - Gobi interface handle
15126 to [ I ] - Timeout for transaction (in milliseconds)
15127 inLen [ I ] - Length of input buffer
15128 pIn [ I ] - Input buffer
15129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15130 contain, upon output the number of BYTEs copied
15131 to pOut
15132 pOut [ O ] - Output buffer
15133
15134 RETURN VALUE:
15135 ULONG - Return code
15136 ===========================================================================*/
15137 ULONG UIMGetConfiguration(
15138 GOBIHANDLE handle,
15139 ULONG to,
15140 ULONG inLen,
15141 const BYTE * pIn,
15142 ULONG * pOutLen,
15143 BYTE * pOut )
15144 {
15145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15146 if (pAPI == 0)
15147 {
15148 return (ULONG)eGOBI_ERR_INTERNAL;
15149 }
15150
15151 ULONG svcID = 11;
15152 ULONG msgID = 58;
15153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15154 }
15155
15156 /*===========================================================================
15157 METHOD:
15158 UIMSendADPU
15159
15160 DESCRIPTION:
15161 The function sends 'UIM/Send ADPU Request' (0x003B)
15162 and returns the response
15163
15164 PARAMETERS:
15165 handle [ I ] - Gobi interface handle
15166 to [ I ] - Timeout for transaction (in milliseconds)
15167 inLen [ I ] - Length of input buffer
15168 pIn [ I ] - Input buffer
15169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15170 contain, upon output the number of BYTEs copied
15171 to pOut
15172 pOut [ O ] - Output buffer
15173
15174 RETURN VALUE:
15175 ULONG - Return code
15176 ===========================================================================*/
15177 ULONG UIMSendADPU(
15178 GOBIHANDLE handle,
15179 ULONG to,
15180 ULONG inLen,
15181 const BYTE * pIn,
15182 ULONG * pOutLen,
15183 BYTE * pOut )
15184 {
15185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15186 if (pAPI == 0)
15187 {
15188 return (ULONG)eGOBI_ERR_INTERNAL;
15189 }
15190
15191 ULONG svcID = 11;
15192 ULONG msgID = 59;
15193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15194 }
15195
15196 /*===========================================================================
15197 METHOD:
15198 UIMSAPConnection
15199
15200 DESCRIPTION:
15201 The function sends 'UIM/SAP Connection Request' (0x003C)
15202 and returns the response
15203
15204 PARAMETERS:
15205 handle [ I ] - Gobi interface handle
15206 to [ I ] - Timeout for transaction (in milliseconds)
15207 inLen [ I ] - Length of input buffer
15208 pIn [ I ] - Input buffer
15209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15210 contain, upon output the number of BYTEs copied
15211 to pOut
15212 pOut [ O ] - Output buffer
15213
15214 RETURN VALUE:
15215 ULONG - Return code
15216 ===========================================================================*/
15217 ULONG UIMSAPConnection(
15218 GOBIHANDLE handle,
15219 ULONG to,
15220 ULONG inLen,
15221 const BYTE * pIn,
15222 ULONG * pOutLen,
15223 BYTE * pOut )
15224 {
15225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15226 if (pAPI == 0)
15227 {
15228 return (ULONG)eGOBI_ERR_INTERNAL;
15229 }
15230
15231 ULONG svcID = 11;
15232 ULONG msgID = 60;
15233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15234 }
15235
15236 /*===========================================================================
15237 METHOD:
15238 UIMSAPRequest
15239
15240 DESCRIPTION:
15241 The function sends 'UIM/SAP Request Request' (0x003D)
15242 and returns the response
15243
15244 PARAMETERS:
15245 handle [ I ] - Gobi interface handle
15246 to [ I ] - Timeout for transaction (in milliseconds)
15247 inLen [ I ] - Length of input buffer
15248 pIn [ I ] - Input buffer
15249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15250 contain, upon output the number of BYTEs copied
15251 to pOut
15252 pOut [ O ] - Output buffer
15253
15254 RETURN VALUE:
15255 ULONG - Return code
15256 ===========================================================================*/
15257 ULONG UIMSAPRequest(
15258 GOBIHANDLE handle,
15259 ULONG to,
15260 ULONG inLen,
15261 const BYTE * pIn,
15262 ULONG * pOutLen,
15263 BYTE * pOut )
15264 {
15265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15266 if (pAPI == 0)
15267 {
15268 return (ULONG)eGOBI_ERR_INTERNAL;
15269 }
15270
15271 ULONG svcID = 11;
15272 ULONG msgID = 61;
15273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15274 }
15275
15276 /*===========================================================================
15277 METHOD:
15278 UIMLogicalChannel
15279
15280 DESCRIPTION:
15281 The function sends 'UIM/Logical Channel Request' (0x003F)
15282 and returns the response
15283
15284 PARAMETERS:
15285 handle [ I ] - Gobi interface handle
15286 to [ I ] - Timeout for transaction (in milliseconds)
15287 inLen [ I ] - Length of input buffer
15288 pIn [ I ] - Input buffer
15289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15290 contain, upon output the number of BYTEs copied
15291 to pOut
15292 pOut [ O ] - Output buffer
15293
15294 RETURN VALUE:
15295 ULONG - Return code
15296 ===========================================================================*/
15297 ULONG UIMLogicalChannel(
15298 GOBIHANDLE handle,
15299 ULONG to,
15300 ULONG inLen,
15301 const BYTE * pIn,
15302 ULONG * pOutLen,
15303 BYTE * pOut )
15304 {
15305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15306 if (pAPI == 0)
15307 {
15308 return (ULONG)eGOBI_ERR_INTERNAL;
15309 }
15310
15311 ULONG svcID = 11;
15312 ULONG msgID = 63;
15313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15314 }
15315
15316 /*===========================================================================
15317 METHOD:
15318 UIMSubscriptionOK
15319
15320 DESCRIPTION:
15321 The function sends 'UIM/Subscription OK Request' (0x0040)
15322 and returns the response
15323
15324 PARAMETERS:
15325 handle [ I ] - Gobi interface handle
15326 to [ I ] - Timeout for transaction (in milliseconds)
15327 inLen [ I ] - Length of input buffer
15328 pIn [ I ] - Input buffer
15329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15330 contain, upon output the number of BYTEs copied
15331 to pOut
15332 pOut [ O ] - Output buffer
15333
15334 RETURN VALUE:
15335 ULONG - Return code
15336 ===========================================================================*/
15337 ULONG UIMSubscriptionOK(
15338 GOBIHANDLE handle,
15339 ULONG to,
15340 ULONG inLen,
15341 const BYTE * pIn,
15342 ULONG * pOutLen,
15343 BYTE * pOut )
15344 {
15345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15346 if (pAPI == 0)
15347 {
15348 return (ULONG)eGOBI_ERR_INTERNAL;
15349 }
15350
15351 ULONG svcID = 11;
15352 ULONG msgID = 64;
15353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15354 }
15355
15356 /*===========================================================================
15357 METHOD:
15358 UIMGetATR
15359
15360 DESCRIPTION:
15361 The function sends 'UIM/Get ATR Request' (0x0041)
15362 and returns the response
15363
15364 PARAMETERS:
15365 handle [ I ] - Gobi interface handle
15366 to [ I ] - Timeout for transaction (in milliseconds)
15367 inLen [ I ] - Length of input buffer
15368 pIn [ I ] - Input buffer
15369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15370 contain, upon output the number of BYTEs copied
15371 to pOut
15372 pOut [ O ] - Output buffer
15373
15374 RETURN VALUE:
15375 ULONG - Return code
15376 ===========================================================================*/
15377 ULONG UIMGetATR(
15378 GOBIHANDLE handle,
15379 ULONG to,
15380 ULONG inLen,
15381 const BYTE * pIn,
15382 ULONG * pOutLen,
15383 BYTE * pOut )
15384 {
15385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15386 if (pAPI == 0)
15387 {
15388 return (ULONG)eGOBI_ERR_INTERNAL;
15389 }
15390
15391 ULONG svcID = 11;
15392 ULONG msgID = 65;
15393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15394 }
15395
15396 /*===========================================================================
15397 METHOD:
15398 UIMOpenLogicalChannel
15399
15400 DESCRIPTION:
15401 The function sends 'UIM/Open Logical Channel Request' (0x0042)
15402 and returns the response
15403
15404 PARAMETERS:
15405 handle [ I ] - Gobi interface handle
15406 to [ I ] - Timeout for transaction (in milliseconds)
15407 inLen [ I ] - Length of input buffer
15408 pIn [ I ] - Input buffer
15409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15410 contain, upon output the number of BYTEs copied
15411 to pOut
15412 pOut [ O ] - Output buffer
15413
15414 RETURN VALUE:
15415 ULONG - Return code
15416 ===========================================================================*/
15417 ULONG UIMOpenLogicalChannel(
15418 GOBIHANDLE handle,
15419 ULONG to,
15420 ULONG inLen,
15421 const BYTE * pIn,
15422 ULONG * pOutLen,
15423 BYTE * pOut )
15424 {
15425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15426 if (pAPI == 0)
15427 {
15428 return (ULONG)eGOBI_ERR_INTERNAL;
15429 }
15430
15431 ULONG svcID = 11;
15432 ULONG msgID = 66;
15433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15434 }
15435
15436 /*===========================================================================
15437 METHOD:
15438 PBMSetIndicationRegistrationState
15439
15440 DESCRIPTION:
15441 The function sends 'PBM/Set Indication Registration State Request' (0x0001)
15442 and returns the response
15443
15444 PARAMETERS:
15445 handle [ I ] - Gobi interface handle
15446 to [ I ] - Timeout for transaction (in milliseconds)
15447 inLen [ I ] - Length of input buffer
15448 pIn [ I ] - Input buffer
15449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15450 contain, upon output the number of BYTEs copied
15451 to pOut
15452 pOut [ O ] - Output buffer
15453
15454 RETURN VALUE:
15455 ULONG - Return code
15456 ===========================================================================*/
15457 ULONG PBMSetIndicationRegistrationState(
15458 GOBIHANDLE handle,
15459 ULONG to,
15460 ULONG inLen,
15461 const BYTE * pIn,
15462 ULONG * pOutLen,
15463 BYTE * pOut )
15464 {
15465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15466 if (pAPI == 0)
15467 {
15468 return (ULONG)eGOBI_ERR_INTERNAL;
15469 }
15470
15471 ULONG svcID = 12;
15472 ULONG msgID = 1;
15473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15474 }
15475
15476 /*===========================================================================
15477 METHOD:
15478 PBMGetCapabilities
15479
15480 DESCRIPTION:
15481 The function sends 'PBM/Get Capabilities Request' (0x0002)
15482 and returns the response
15483
15484 PARAMETERS:
15485 handle [ I ] - Gobi interface handle
15486 to [ I ] - Timeout for transaction (in milliseconds)
15487 inLen [ I ] - Length of input buffer
15488 pIn [ I ] - Input buffer
15489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15490 contain, upon output the number of BYTEs copied
15491 to pOut
15492 pOut [ O ] - Output buffer
15493
15494 RETURN VALUE:
15495 ULONG - Return code
15496 ===========================================================================*/
15497 ULONG PBMGetCapabilities(
15498 GOBIHANDLE handle,
15499 ULONG to,
15500 ULONG inLen,
15501 const BYTE * pIn,
15502 ULONG * pOutLen,
15503 BYTE * pOut )
15504 {
15505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15506 if (pAPI == 0)
15507 {
15508 return (ULONG)eGOBI_ERR_INTERNAL;
15509 }
15510
15511 ULONG svcID = 12;
15512 ULONG msgID = 2;
15513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15514 }
15515
15516 /*===========================================================================
15517 METHOD:
15518 PBMGetAllCapabilities
15519
15520 DESCRIPTION:
15521 The function sends 'PBM/Get All Capabilities Request' (0x0003)
15522 and returns the response
15523
15524 PARAMETERS:
15525 handle [ I ] - Gobi interface handle
15526 to [ I ] - Timeout for transaction (in milliseconds)
15527 inLen [ I ] - Reserved for future use (set to 0)
15528 pIn [ I ] - Reserved for future use (set to 0)
15529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15530 contain, upon output the number of BYTEs copied
15531 to pOut
15532 pOut [ O ] - Output buffer
15533
15534 RETURN VALUE:
15535 ULONG - Return code
15536 ===========================================================================*/
15537 ULONG PBMGetAllCapabilities(
15538 GOBIHANDLE handle,
15539 ULONG to,
15540 ULONG inLen,
15541 const BYTE * pIn,
15542 ULONG * pOutLen,
15543 BYTE * pOut )
15544 {
15545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15546 if (pAPI == 0)
15547 {
15548 return (ULONG)eGOBI_ERR_INTERNAL;
15549 }
15550
15551 ULONG svcID = 12;
15552 ULONG msgID = 3;
15553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15554 }
15555
15556 /*===========================================================================
15557 METHOD:
15558 PBMReadRecords
15559
15560 DESCRIPTION:
15561 The function sends 'PBM/Read Records Request' (0x0004)
15562 and returns the response
15563
15564 PARAMETERS:
15565 handle [ I ] - Gobi interface handle
15566 to [ I ] - Timeout for transaction (in milliseconds)
15567 inLen [ I ] - Length of input buffer
15568 pIn [ I ] - Input buffer
15569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15570 contain, upon output the number of BYTEs copied
15571 to pOut
15572 pOut [ O ] - Output buffer
15573
15574 RETURN VALUE:
15575 ULONG - Return code
15576 ===========================================================================*/
15577 ULONG PBMReadRecords(
15578 GOBIHANDLE handle,
15579 ULONG to,
15580 ULONG inLen,
15581 const BYTE * pIn,
15582 ULONG * pOutLen,
15583 BYTE * pOut )
15584 {
15585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15586 if (pAPI == 0)
15587 {
15588 return (ULONG)eGOBI_ERR_INTERNAL;
15589 }
15590
15591 ULONG svcID = 12;
15592 ULONG msgID = 4;
15593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15594 }
15595
15596 /*===========================================================================
15597 METHOD:
15598 PBMWriteRecord
15599
15600 DESCRIPTION:
15601 The function sends 'PBM/Write Record Request' (0x0005)
15602 and returns the response
15603
15604 PARAMETERS:
15605 handle [ I ] - Gobi interface handle
15606 to [ I ] - Timeout for transaction (in milliseconds)
15607 inLen [ I ] - Length of input buffer
15608 pIn [ I ] - Input buffer
15609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15610 contain, upon output the number of BYTEs copied
15611 to pOut
15612 pOut [ O ] - Output buffer
15613
15614 RETURN VALUE:
15615 ULONG - Return code
15616 ===========================================================================*/
15617 ULONG PBMWriteRecord(
15618 GOBIHANDLE handle,
15619 ULONG to,
15620 ULONG inLen,
15621 const BYTE * pIn,
15622 ULONG * pOutLen,
15623 BYTE * pOut )
15624 {
15625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15626 if (pAPI == 0)
15627 {
15628 return (ULONG)eGOBI_ERR_INTERNAL;
15629 }
15630
15631 ULONG svcID = 12;
15632 ULONG msgID = 5;
15633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15634 }
15635
15636 /*===========================================================================
15637 METHOD:
15638 PBMDeleteRecord
15639
15640 DESCRIPTION:
15641 The function sends 'PBM/Delete Record Request' (0x0006)
15642 and returns the response
15643
15644 PARAMETERS:
15645 handle [ I ] - Gobi interface handle
15646 to [ I ] - Timeout for transaction (in milliseconds)
15647 inLen [ I ] - Length of input buffer
15648 pIn [ I ] - Input buffer
15649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15650 contain, upon output the number of BYTEs copied
15651 to pOut
15652 pOut [ O ] - Output buffer
15653
15654 RETURN VALUE:
15655 ULONG - Return code
15656 ===========================================================================*/
15657 ULONG PBMDeleteRecord(
15658 GOBIHANDLE handle,
15659 ULONG to,
15660 ULONG inLen,
15661 const BYTE * pIn,
15662 ULONG * pOutLen,
15663 BYTE * pOut )
15664 {
15665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15666 if (pAPI == 0)
15667 {
15668 return (ULONG)eGOBI_ERR_INTERNAL;
15669 }
15670
15671 ULONG svcID = 12;
15672 ULONG msgID = 6;
15673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15674 }
15675
15676 /*===========================================================================
15677 METHOD:
15678 PBMDeleteAllRecords
15679
15680 DESCRIPTION:
15681 The function sends 'PBM/Delete All Records Request' (0x0007)
15682 and returns the response
15683
15684 PARAMETERS:
15685 handle [ I ] - Gobi interface handle
15686 to [ I ] - Timeout for transaction (in milliseconds)
15687 inLen [ I ] - Length of input buffer
15688 pIn [ I ] - Input buffer
15689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15690 contain, upon output the number of BYTEs copied
15691 to pOut
15692 pOut [ O ] - Output buffer
15693
15694 RETURN VALUE:
15695 ULONG - Return code
15696 ===========================================================================*/
15697 ULONG PBMDeleteAllRecords(
15698 GOBIHANDLE handle,
15699 ULONG to,
15700 ULONG inLen,
15701 const BYTE * pIn,
15702 ULONG * pOutLen,
15703 BYTE * pOut )
15704 {
15705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15706 if (pAPI == 0)
15707 {
15708 return (ULONG)eGOBI_ERR_INTERNAL;
15709 }
15710
15711 ULONG svcID = 12;
15712 ULONG msgID = 7;
15713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15714 }
15715
15716 /*===========================================================================
15717 METHOD:
15718 PBMSearchRecords
15719
15720 DESCRIPTION:
15721 The function sends 'PBM/Search Records Request' (0x0008)
15722 and returns the response
15723
15724 PARAMETERS:
15725 handle [ I ] - Gobi interface handle
15726 to [ I ] - Timeout for transaction (in milliseconds)
15727 inLen [ I ] - Length of input buffer
15728 pIn [ I ] - Input buffer
15729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15730 contain, upon output the number of BYTEs copied
15731 to pOut
15732 pOut [ O ] - Output buffer
15733
15734 RETURN VALUE:
15735 ULONG - Return code
15736 ===========================================================================*/
15737 ULONG PBMSearchRecords(
15738 GOBIHANDLE handle,
15739 ULONG to,
15740 ULONG inLen,
15741 const BYTE * pIn,
15742 ULONG * pOutLen,
15743 BYTE * pOut )
15744 {
15745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15746 if (pAPI == 0)
15747 {
15748 return (ULONG)eGOBI_ERR_INTERNAL;
15749 }
15750
15751 ULONG svcID = 12;
15752 ULONG msgID = 8;
15753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15754 }
15755
15756 /*===========================================================================
15757 METHOD:
15758 PBMGetEmergencyList
15759
15760 DESCRIPTION:
15761 The function sends 'PBM/Get Emergency List Request' (0x000E)
15762 and returns the response
15763
15764 PARAMETERS:
15765 handle [ I ] - Gobi interface handle
15766 to [ I ] - Timeout for transaction (in milliseconds)
15767 inLen [ I ] - Reserved for future use (set to 0)
15768 pIn [ I ] - Reserved for future use (set to 0)
15769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15770 contain, upon output the number of BYTEs copied
15771 to pOut
15772 pOut [ O ] - Output buffer
15773
15774 RETURN VALUE:
15775 ULONG - Return code
15776 ===========================================================================*/
15777 ULONG PBMGetEmergencyList(
15778 GOBIHANDLE handle,
15779 ULONG to,
15780 ULONG inLen,
15781 const BYTE * pIn,
15782 ULONG * pOutLen,
15783 BYTE * pOut )
15784 {
15785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15786 if (pAPI == 0)
15787 {
15788 return (ULONG)eGOBI_ERR_INTERNAL;
15789 }
15790
15791 ULONG svcID = 12;
15792 ULONG msgID = 14;
15793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15794 }
15795
15796 /*===========================================================================
15797 METHOD:
15798 PBMGetAllGroups
15799
15800 DESCRIPTION:
15801 The function sends 'PBM/Get All Groups Request' (0x000F)
15802 and returns the response
15803
15804 PARAMETERS:
15805 handle [ I ] - Gobi interface handle
15806 to [ I ] - Timeout for transaction (in milliseconds)
15807 inLen [ I ] - Reserved for future use (set to 0)
15808 pIn [ I ] - Reserved for future use (set to 0)
15809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15810 contain, upon output the number of BYTEs copied
15811 to pOut
15812 pOut [ O ] - Output buffer
15813
15814 RETURN VALUE:
15815 ULONG - Return code
15816 ===========================================================================*/
15817 ULONG PBMGetAllGroups(
15818 GOBIHANDLE handle,
15819 ULONG to,
15820 ULONG inLen,
15821 const BYTE * pIn,
15822 ULONG * pOutLen,
15823 BYTE * pOut )
15824 {
15825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15826 if (pAPI == 0)
15827 {
15828 return (ULONG)eGOBI_ERR_INTERNAL;
15829 }
15830
15831 ULONG svcID = 12;
15832 ULONG msgID = 15;
15833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15834 }
15835
15836 /*===========================================================================
15837 METHOD:
15838 PBMSetGroupInfo
15839
15840 DESCRIPTION:
15841 The function sends 'PBM/Set Group Info Request' (0x0010)
15842 and returns the response
15843
15844 PARAMETERS:
15845 handle [ I ] - Gobi interface handle
15846 to [ I ] - Timeout for transaction (in milliseconds)
15847 inLen [ I ] - Length of input buffer
15848 pIn [ I ] - Input buffer
15849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15850 contain, upon output the number of BYTEs copied
15851 to pOut
15852 pOut [ O ] - Output buffer
15853
15854 RETURN VALUE:
15855 ULONG - Return code
15856 ===========================================================================*/
15857 ULONG PBMSetGroupInfo(
15858 GOBIHANDLE handle,
15859 ULONG to,
15860 ULONG inLen,
15861 const BYTE * pIn,
15862 ULONG * pOutLen,
15863 BYTE * pOut )
15864 {
15865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15866 if (pAPI == 0)
15867 {
15868 return (ULONG)eGOBI_ERR_INTERNAL;
15869 }
15870
15871 ULONG svcID = 12;
15872 ULONG msgID = 16;
15873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15874 }
15875
15876 /*===========================================================================
15877 METHOD:
15878 PBMGetState
15879
15880 DESCRIPTION:
15881 The function sends 'PBM/Get State Request' (0x0011)
15882 and returns the response
15883
15884 PARAMETERS:
15885 handle [ I ] - Gobi interface handle
15886 to [ I ] - Timeout for transaction (in milliseconds)
15887 inLen [ I ] - Length of input buffer
15888 pIn [ I ] - Input buffer
15889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15890 contain, upon output the number of BYTEs copied
15891 to pOut
15892 pOut [ O ] - Output buffer
15893
15894 RETURN VALUE:
15895 ULONG - Return code
15896 ===========================================================================*/
15897 ULONG PBMGetState(
15898 GOBIHANDLE handle,
15899 ULONG to,
15900 ULONG inLen,
15901 const BYTE * pIn,
15902 ULONG * pOutLen,
15903 BYTE * pOut )
15904 {
15905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15906 if (pAPI == 0)
15907 {
15908 return (ULONG)eGOBI_ERR_INTERNAL;
15909 }
15910
15911 ULONG svcID = 12;
15912 ULONG msgID = 17;
15913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15914 }
15915
15916 /*===========================================================================
15917 METHOD:
15918 PBMReadAllHiddenRecords
15919
15920 DESCRIPTION:
15921 The function sends 'PBM/Read All Hidden Records Request' (0x0012)
15922 and returns the response
15923
15924 PARAMETERS:
15925 handle [ I ] - Gobi interface handle
15926 to [ I ] - Timeout for transaction (in milliseconds)
15927 inLen [ I ] - Length of input buffer
15928 pIn [ I ] - Input buffer
15929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15930 contain, upon output the number of BYTEs copied
15931 to pOut
15932 pOut [ O ] - Output buffer
15933
15934 RETURN VALUE:
15935 ULONG - Return code
15936 ===========================================================================*/
15937 ULONG PBMReadAllHiddenRecords(
15938 GOBIHANDLE handle,
15939 ULONG to,
15940 ULONG inLen,
15941 const BYTE * pIn,
15942 ULONG * pOutLen,
15943 BYTE * pOut )
15944 {
15945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15946 if (pAPI == 0)
15947 {
15948 return (ULONG)eGOBI_ERR_INTERNAL;
15949 }
15950
15951 ULONG svcID = 12;
15952 ULONG msgID = 18;
15953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15954 }
15955
15956 /*===========================================================================
15957 METHOD:
15958 PBMGetNextEmptyRecordID
15959
15960 DESCRIPTION:
15961 The function sends 'PBM/Get Next Empty Record ID Request' (0x0014)
15962 and returns the response
15963
15964 PARAMETERS:
15965 handle [ I ] - Gobi interface handle
15966 to [ I ] - Timeout for transaction (in milliseconds)
15967 inLen [ I ] - Length of input buffer
15968 pIn [ I ] - Input buffer
15969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
15970 contain, upon output the number of BYTEs copied
15971 to pOut
15972 pOut [ O ] - Output buffer
15973
15974 RETURN VALUE:
15975 ULONG - Return code
15976 ===========================================================================*/
15977 ULONG PBMGetNextEmptyRecordID(
15978 GOBIHANDLE handle,
15979 ULONG to,
15980 ULONG inLen,
15981 const BYTE * pIn,
15982 ULONG * pOutLen,
15983 BYTE * pOut )
15984 {
15985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
15986 if (pAPI == 0)
15987 {
15988 return (ULONG)eGOBI_ERR_INTERNAL;
15989 }
15990
15991 ULONG svcID = 12;
15992 ULONG msgID = 20;
15993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
15994 }
15995
15996 /*===========================================================================
15997 METHOD:
15998 PBMGetNextRecordID
15999
16000 DESCRIPTION:
16001 The function sends 'PBM/Get Next Record ID Request' (0x0015)
16002 and returns the response
16003
16004 PARAMETERS:
16005 handle [ I ] - Gobi interface handle
16006 to [ I ] - Timeout for transaction (in milliseconds)
16007 inLen [ I ] - Length of input buffer
16008 pIn [ I ] - Input buffer
16009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16010 contain, upon output the number of BYTEs copied
16011 to pOut
16012 pOut [ O ] - Output buffer
16013
16014 RETURN VALUE:
16015 ULONG - Return code
16016 ===========================================================================*/
16017 ULONG PBMGetNextRecordID(
16018 GOBIHANDLE handle,
16019 ULONG to,
16020 ULONG inLen,
16021 const BYTE * pIn,
16022 ULONG * pOutLen,
16023 BYTE * pOut )
16024 {
16025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16026 if (pAPI == 0)
16027 {
16028 return (ULONG)eGOBI_ERR_INTERNAL;
16029 }
16030
16031 ULONG svcID = 12;
16032 ULONG msgID = 21;
16033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16034 }
16035
16036 /*===========================================================================
16037 METHOD:
16038 PBMGetAASList
16039
16040 DESCRIPTION:
16041 The function sends 'PBM/Get AAS List Request' (0x0016)
16042 and returns the response
16043
16044 PARAMETERS:
16045 handle [ I ] - Gobi interface handle
16046 to [ I ] - Timeout for transaction (in milliseconds)
16047 inLen [ I ] - Reserved for future use (set to 0)
16048 pIn [ I ] - Reserved for future use (set to 0)
16049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16050 contain, upon output the number of BYTEs copied
16051 to pOut
16052 pOut [ O ] - Output buffer
16053
16054 RETURN VALUE:
16055 ULONG - Return code
16056 ===========================================================================*/
16057 ULONG PBMGetAASList(
16058 GOBIHANDLE handle,
16059 ULONG to,
16060 ULONG inLen,
16061 const BYTE * pIn,
16062 ULONG * pOutLen,
16063 BYTE * pOut )
16064 {
16065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16066 if (pAPI == 0)
16067 {
16068 return (ULONG)eGOBI_ERR_INTERNAL;
16069 }
16070
16071 ULONG svcID = 12;
16072 ULONG msgID = 22;
16073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16074 }
16075
16076 /*===========================================================================
16077 METHOD:
16078 PBMSetAAS
16079
16080 DESCRIPTION:
16081 The function sends 'PBM/Set AAS Request' (0x0017)
16082 and returns the response
16083
16084 PARAMETERS:
16085 handle [ I ] - Gobi interface handle
16086 to [ I ] - Timeout for transaction (in milliseconds)
16087 inLen [ I ] - Length of input buffer
16088 pIn [ I ] - Input buffer
16089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16090 contain, upon output the number of BYTEs copied
16091 to pOut
16092 pOut [ O ] - Output buffer
16093
16094 RETURN VALUE:
16095 ULONG - Return code
16096 ===========================================================================*/
16097 ULONG PBMSetAAS(
16098 GOBIHANDLE handle,
16099 ULONG to,
16100 ULONG inLen,
16101 const BYTE * pIn,
16102 ULONG * pOutLen,
16103 BYTE * pOut )
16104 {
16105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16106 if (pAPI == 0)
16107 {
16108 return (ULONG)eGOBI_ERR_INTERNAL;
16109 }
16110
16111 ULONG svcID = 12;
16112 ULONG msgID = 23;
16113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16114 }
16115
16116 /*===========================================================================
16117 METHOD:
16118 PBMBindSubscription
16119
16120 DESCRIPTION:
16121 The function sends 'PBM/Bind Subscription Request' (0x001A)
16122 and returns the response
16123
16124 PARAMETERS:
16125 handle [ I ] - Gobi interface handle
16126 to [ I ] - Timeout for transaction (in milliseconds)
16127 inLen [ I ] - Length of input buffer
16128 pIn [ I ] - Input buffer
16129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16130 contain, upon output the number of BYTEs copied
16131 to pOut
16132 pOut [ O ] - Output buffer
16133
16134 RETURN VALUE:
16135 ULONG - Return code
16136 ===========================================================================*/
16137 ULONG PBMBindSubscription(
16138 GOBIHANDLE handle,
16139 ULONG to,
16140 ULONG inLen,
16141 const BYTE * pIn,
16142 ULONG * pOutLen,
16143 BYTE * pOut )
16144 {
16145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16146 if (pAPI == 0)
16147 {
16148 return (ULONG)eGOBI_ERR_INTERNAL;
16149 }
16150
16151 ULONG svcID = 12;
16152 ULONG msgID = 26;
16153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16154 }
16155
16156 /*===========================================================================
16157 METHOD:
16158 PBMGetSubscription
16159
16160 DESCRIPTION:
16161 The function sends 'PBM/Get Subscription Request' (0x001B)
16162 and returns the response
16163
16164 PARAMETERS:
16165 handle [ I ] - Gobi interface handle
16166 to [ I ] - Timeout for transaction (in milliseconds)
16167 inLen [ I ] - Reserved for future use (set to 0)
16168 pIn [ I ] - Reserved for future use (set to 0)
16169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16170 contain, upon output the number of BYTEs copied
16171 to pOut
16172 pOut [ O ] - Output buffer
16173
16174 RETURN VALUE:
16175 ULONG - Return code
16176 ===========================================================================*/
16177 ULONG PBMGetSubscription(
16178 GOBIHANDLE handle,
16179 ULONG to,
16180 ULONG inLen,
16181 const BYTE * pIn,
16182 ULONG * pOutLen,
16183 BYTE * pOut )
16184 {
16185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16186 if (pAPI == 0)
16187 {
16188 return (ULONG)eGOBI_ERR_INTERNAL;
16189 }
16190
16191 ULONG svcID = 12;
16192 ULONG msgID = 27;
16193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16194 }
16195
16196 /*===========================================================================
16197 METHOD:
16198 LOCClientRevision
16199
16200 DESCRIPTION:
16201 The function sends 'LOC/Client Revision Request' (0x0020)
16202 and returns the response
16203
16204 PARAMETERS:
16205 handle [ I ] - Gobi interface handle
16206 to [ I ] - Timeout for transaction (in milliseconds)
16207 inLen [ I ] - Length of input buffer
16208 pIn [ I ] - Input buffer
16209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16210 contain, upon output the number of BYTEs copied
16211 to pOut
16212 pOut [ O ] - Output buffer
16213
16214 RETURN VALUE:
16215 ULONG - Return code
16216 ===========================================================================*/
16217 ULONG LOCClientRevision(
16218 GOBIHANDLE handle,
16219 ULONG to,
16220 ULONG inLen,
16221 const BYTE * pIn,
16222 ULONG * pOutLen,
16223 BYTE * pOut )
16224 {
16225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16226 if (pAPI == 0)
16227 {
16228 return (ULONG)eGOBI_ERR_INTERNAL;
16229 }
16230
16231 ULONG svcID = 18;
16232 ULONG msgID = 32;
16233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16234 }
16235
16236 /*===========================================================================
16237 METHOD:
16238 LOCRegisterEvents
16239
16240 DESCRIPTION:
16241 The function sends 'LOC/Register Events Request' (0x0021)
16242 and returns the response
16243
16244 PARAMETERS:
16245 handle [ I ] - Gobi interface handle
16246 to [ I ] - Timeout for transaction (in milliseconds)
16247 inLen [ I ] - Length of input buffer
16248 pIn [ I ] - Input buffer
16249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16250 contain, upon output the number of BYTEs copied
16251 to pOut
16252 pOut [ O ] - Output buffer
16253
16254 RETURN VALUE:
16255 ULONG - Return code
16256 ===========================================================================*/
16257 ULONG LOCRegisterEvents(
16258 GOBIHANDLE handle,
16259 ULONG to,
16260 ULONG inLen,
16261 const BYTE * pIn,
16262 ULONG * pOutLen,
16263 BYTE * pOut )
16264 {
16265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16266 if (pAPI == 0)
16267 {
16268 return (ULONG)eGOBI_ERR_INTERNAL;
16269 }
16270
16271 ULONG svcID = 18;
16272 ULONG msgID = 33;
16273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16274 }
16275
16276 /*===========================================================================
16277 METHOD:
16278 LOCStart
16279
16280 DESCRIPTION:
16281 The function sends 'LOC/Start Request' (0x0022)
16282 and returns the response
16283
16284 PARAMETERS:
16285 handle [ I ] - Gobi interface handle
16286 to [ I ] - Timeout for transaction (in milliseconds)
16287 inLen [ I ] - Length of input buffer
16288 pIn [ I ] - Input buffer
16289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16290 contain, upon output the number of BYTEs copied
16291 to pOut
16292 pOut [ O ] - Output buffer
16293
16294 RETURN VALUE:
16295 ULONG - Return code
16296 ===========================================================================*/
16297 ULONG LOCStart(
16298 GOBIHANDLE handle,
16299 ULONG to,
16300 ULONG inLen,
16301 const BYTE * pIn,
16302 ULONG * pOutLen,
16303 BYTE * pOut )
16304 {
16305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16306 if (pAPI == 0)
16307 {
16308 return (ULONG)eGOBI_ERR_INTERNAL;
16309 }
16310
16311 ULONG svcID = 18;
16312 ULONG msgID = 34;
16313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16314 }
16315
16316 /*===========================================================================
16317 METHOD:
16318 LOCStop
16319
16320 DESCRIPTION:
16321 The function sends 'LOC/Stop Request' (0x0023)
16322 and returns the response
16323
16324 PARAMETERS:
16325 handle [ I ] - Gobi interface handle
16326 to [ I ] - Timeout for transaction (in milliseconds)
16327 inLen [ I ] - Length of input buffer
16328 pIn [ I ] - Input buffer
16329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16330 contain, upon output the number of BYTEs copied
16331 to pOut
16332 pOut [ O ] - Output buffer
16333
16334 RETURN VALUE:
16335 ULONG - Return code
16336 ===========================================================================*/
16337 ULONG LOCStop(
16338 GOBIHANDLE handle,
16339 ULONG to,
16340 ULONG inLen,
16341 const BYTE * pIn,
16342 ULONG * pOutLen,
16343 BYTE * pOut )
16344 {
16345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16346 if (pAPI == 0)
16347 {
16348 return (ULONG)eGOBI_ERR_INTERNAL;
16349 }
16350
16351 ULONG svcID = 18;
16352 ULONG msgID = 35;
16353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16354 }
16355
16356 /*===========================================================================
16357 METHOD:
16358 LOCGetServiceRevision
16359
16360 DESCRIPTION:
16361 The function sends 'LOC/Get Service Revision Request' (0x0032)
16362 and returns the response
16363
16364 PARAMETERS:
16365 handle [ I ] - Gobi interface handle
16366 to [ I ] - Timeout for transaction (in milliseconds)
16367 inLen [ I ] - Reserved for future use (set to 0)
16368 pIn [ I ] - Reserved for future use (set to 0)
16369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16370 contain, upon output the number of BYTEs copied
16371 to pOut
16372 pOut [ O ] - Output buffer
16373
16374 RETURN VALUE:
16375 ULONG - Return code
16376 ===========================================================================*/
16377 ULONG LOCGetServiceRevision(
16378 GOBIHANDLE handle,
16379 ULONG to,
16380 ULONG inLen,
16381 const BYTE * pIn,
16382 ULONG * pOutLen,
16383 BYTE * pOut )
16384 {
16385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16386 if (pAPI == 0)
16387 {
16388 return (ULONG)eGOBI_ERR_INTERNAL;
16389 }
16390
16391 ULONG svcID = 18;
16392 ULONG msgID = 50;
16393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16394 }
16395
16396 /*===========================================================================
16397 METHOD:
16398 LOCGetFixCriteria
16399
16400 DESCRIPTION:
16401 The function sends 'LOC/Get Fix Criteria Request' (0x0033)
16402 and returns the response
16403
16404 PARAMETERS:
16405 handle [ I ] - Gobi interface handle
16406 to [ I ] - Timeout for transaction (in milliseconds)
16407 inLen [ I ] - Reserved for future use (set to 0)
16408 pIn [ I ] - Reserved for future use (set to 0)
16409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16410 contain, upon output the number of BYTEs copied
16411 to pOut
16412 pOut [ O ] - Output buffer
16413
16414 RETURN VALUE:
16415 ULONG - Return code
16416 ===========================================================================*/
16417 ULONG LOCGetFixCriteria(
16418 GOBIHANDLE handle,
16419 ULONG to,
16420 ULONG inLen,
16421 const BYTE * pIn,
16422 ULONG * pOutLen,
16423 BYTE * pOut )
16424 {
16425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16426 if (pAPI == 0)
16427 {
16428 return (ULONG)eGOBI_ERR_INTERNAL;
16429 }
16430
16431 ULONG svcID = 18;
16432 ULONG msgID = 51;
16433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16434 }
16435
16436 /*===========================================================================
16437 METHOD:
16438 LOCProvideNIUserResponse
16439
16440 DESCRIPTION:
16441 The function sends 'LOC/Provide NI User Response Request' (0x0034)
16442 and returns the response
16443
16444 PARAMETERS:
16445 handle [ I ] - Gobi interface handle
16446 to [ I ] - Timeout for transaction (in milliseconds)
16447 inLen [ I ] - Length of input buffer
16448 pIn [ I ] - Input buffer
16449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16450 contain, upon output the number of BYTEs copied
16451 to pOut
16452 pOut [ O ] - Output buffer
16453
16454 RETURN VALUE:
16455 ULONG - Return code
16456 ===========================================================================*/
16457 ULONG LOCProvideNIUserResponse(
16458 GOBIHANDLE handle,
16459 ULONG to,
16460 ULONG inLen,
16461 const BYTE * pIn,
16462 ULONG * pOutLen,
16463 BYTE * pOut )
16464 {
16465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16466 if (pAPI == 0)
16467 {
16468 return (ULONG)eGOBI_ERR_INTERNAL;
16469 }
16470
16471 ULONG svcID = 18;
16472 ULONG msgID = 52;
16473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16474 }
16475
16476 /*===========================================================================
16477 METHOD:
16478 LOCInjectPredictedOrbitsData
16479
16480 DESCRIPTION:
16481 The function sends 'LOC/Inject Predicted Orbits Data Request' (0x0035)
16482 and returns the response
16483
16484 PARAMETERS:
16485 handle [ I ] - Gobi interface handle
16486 to [ I ] - Timeout for transaction (in milliseconds)
16487 inLen [ I ] - Length of input buffer
16488 pIn [ I ] - Input buffer
16489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16490 contain, upon output the number of BYTEs copied
16491 to pOut
16492 pOut [ O ] - Output buffer
16493
16494 RETURN VALUE:
16495 ULONG - Return code
16496 ===========================================================================*/
16497 ULONG LOCInjectPredictedOrbitsData(
16498 GOBIHANDLE handle,
16499 ULONG to,
16500 ULONG inLen,
16501 const BYTE * pIn,
16502 ULONG * pOutLen,
16503 BYTE * pOut )
16504 {
16505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16506 if (pAPI == 0)
16507 {
16508 return (ULONG)eGOBI_ERR_INTERNAL;
16509 }
16510
16511 ULONG svcID = 18;
16512 ULONG msgID = 53;
16513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16514 }
16515
16516 /*===========================================================================
16517 METHOD:
16518 LOCGetPredictedOrbitsDataSource
16519
16520 DESCRIPTION:
16521 The function sends 'LOC/Get Predicted Orbits Data Source Request' (0x0036)
16522 and returns the response
16523
16524 PARAMETERS:
16525 handle [ I ] - Gobi interface handle
16526 to [ I ] - Timeout for transaction (in milliseconds)
16527 inLen [ I ] - Reserved for future use (set to 0)
16528 pIn [ I ] - Reserved for future use (set to 0)
16529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16530 contain, upon output the number of BYTEs copied
16531 to pOut
16532 pOut [ O ] - Output buffer
16533
16534 RETURN VALUE:
16535 ULONG - Return code
16536 ===========================================================================*/
16537 ULONG LOCGetPredictedOrbitsDataSource(
16538 GOBIHANDLE handle,
16539 ULONG to,
16540 ULONG inLen,
16541 const BYTE * pIn,
16542 ULONG * pOutLen,
16543 BYTE * pOut )
16544 {
16545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16546 if (pAPI == 0)
16547 {
16548 return (ULONG)eGOBI_ERR_INTERNAL;
16549 }
16550
16551 ULONG svcID = 18;
16552 ULONG msgID = 54;
16553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16554 }
16555
16556 /*===========================================================================
16557 METHOD:
16558 LOCGetPredictedOrbitsDataValidity
16559
16560 DESCRIPTION:
16561 The function sends 'LOC/Get Predicted Orbits Data Validity Request' (0x0037)
16562 and returns the response
16563
16564 PARAMETERS:
16565 handle [ I ] - Gobi interface handle
16566 to [ I ] - Timeout for transaction (in milliseconds)
16567 inLen [ I ] - Reserved for future use (set to 0)
16568 pIn [ I ] - Reserved for future use (set to 0)
16569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16570 contain, upon output the number of BYTEs copied
16571 to pOut
16572 pOut [ O ] - Output buffer
16573
16574 RETURN VALUE:
16575 ULONG - Return code
16576 ===========================================================================*/
16577 ULONG LOCGetPredictedOrbitsDataValidity(
16578 GOBIHANDLE handle,
16579 ULONG to,
16580 ULONG inLen,
16581 const BYTE * pIn,
16582 ULONG * pOutLen,
16583 BYTE * pOut )
16584 {
16585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16586 if (pAPI == 0)
16587 {
16588 return (ULONG)eGOBI_ERR_INTERNAL;
16589 }
16590
16591 ULONG svcID = 18;
16592 ULONG msgID = 55;
16593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16594 }
16595
16596 /*===========================================================================
16597 METHOD:
16598 LOCInjectUTCTime
16599
16600 DESCRIPTION:
16601 The function sends 'LOC/Inject UTC Time Request' (0x0038)
16602 and returns the response
16603
16604 PARAMETERS:
16605 handle [ I ] - Gobi interface handle
16606 to [ I ] - Timeout for transaction (in milliseconds)
16607 inLen [ I ] - Length of input buffer
16608 pIn [ I ] - Input buffer
16609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16610 contain, upon output the number of BYTEs copied
16611 to pOut
16612 pOut [ O ] - Output buffer
16613
16614 RETURN VALUE:
16615 ULONG - Return code
16616 ===========================================================================*/
16617 ULONG LOCInjectUTCTime(
16618 GOBIHANDLE handle,
16619 ULONG to,
16620 ULONG inLen,
16621 const BYTE * pIn,
16622 ULONG * pOutLen,
16623 BYTE * pOut )
16624 {
16625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16626 if (pAPI == 0)
16627 {
16628 return (ULONG)eGOBI_ERR_INTERNAL;
16629 }
16630
16631 ULONG svcID = 18;
16632 ULONG msgID = 56;
16633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16634 }
16635
16636 /*===========================================================================
16637 METHOD:
16638 LOCInjectPosition
16639
16640 DESCRIPTION:
16641 The function sends 'LOC/Inject Position Request' (0x0039)
16642 and returns the response
16643
16644 PARAMETERS:
16645 handle [ I ] - Gobi interface handle
16646 to [ I ] - Timeout for transaction (in milliseconds)
16647 inLen [ I ] - Length of input buffer
16648 pIn [ I ] - Input buffer
16649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16650 contain, upon output the number of BYTEs copied
16651 to pOut
16652 pOut [ O ] - Output buffer
16653
16654 RETURN VALUE:
16655 ULONG - Return code
16656 ===========================================================================*/
16657 ULONG LOCInjectPosition(
16658 GOBIHANDLE handle,
16659 ULONG to,
16660 ULONG inLen,
16661 const BYTE * pIn,
16662 ULONG * pOutLen,
16663 BYTE * pOut )
16664 {
16665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16666 if (pAPI == 0)
16667 {
16668 return (ULONG)eGOBI_ERR_INTERNAL;
16669 }
16670
16671 ULONG svcID = 18;
16672 ULONG msgID = 57;
16673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16674 }
16675
16676 /*===========================================================================
16677 METHOD:
16678 LOCSetEngineLock
16679
16680 DESCRIPTION:
16681 The function sends 'LOC/Set Engine Lock Request' (0x003A)
16682 and returns the response
16683
16684 PARAMETERS:
16685 handle [ I ] - Gobi interface handle
16686 to [ I ] - Timeout for transaction (in milliseconds)
16687 inLen [ I ] - Length of input buffer
16688 pIn [ I ] - Input buffer
16689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16690 contain, upon output the number of BYTEs copied
16691 to pOut
16692 pOut [ O ] - Output buffer
16693
16694 RETURN VALUE:
16695 ULONG - Return code
16696 ===========================================================================*/
16697 ULONG LOCSetEngineLock(
16698 GOBIHANDLE handle,
16699 ULONG to,
16700 ULONG inLen,
16701 const BYTE * pIn,
16702 ULONG * pOutLen,
16703 BYTE * pOut )
16704 {
16705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16706 if (pAPI == 0)
16707 {
16708 return (ULONG)eGOBI_ERR_INTERNAL;
16709 }
16710
16711 ULONG svcID = 18;
16712 ULONG msgID = 58;
16713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16714 }
16715
16716 /*===========================================================================
16717 METHOD:
16718 LOCGetEngineLock
16719
16720 DESCRIPTION:
16721 The function sends 'LOC/Get Engine Lock Request' (0x003B)
16722 and returns the response
16723
16724 PARAMETERS:
16725 handle [ I ] - Gobi interface handle
16726 to [ I ] - Timeout for transaction (in milliseconds)
16727 inLen [ I ] - Reserved for future use (set to 0)
16728 pIn [ I ] - Reserved for future use (set to 0)
16729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16730 contain, upon output the number of BYTEs copied
16731 to pOut
16732 pOut [ O ] - Output buffer
16733
16734 RETURN VALUE:
16735 ULONG - Return code
16736 ===========================================================================*/
16737 ULONG LOCGetEngineLock(
16738 GOBIHANDLE handle,
16739 ULONG to,
16740 ULONG inLen,
16741 const BYTE * pIn,
16742 ULONG * pOutLen,
16743 BYTE * pOut )
16744 {
16745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16746 if (pAPI == 0)
16747 {
16748 return (ULONG)eGOBI_ERR_INTERNAL;
16749 }
16750
16751 ULONG svcID = 18;
16752 ULONG msgID = 59;
16753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16754 }
16755
16756 /*===========================================================================
16757 METHOD:
16758 LOCSetSBASConfig
16759
16760 DESCRIPTION:
16761 The function sends 'LOC/Set SBAS Config Request' (0x003C)
16762 and returns the response
16763
16764 PARAMETERS:
16765 handle [ I ] - Gobi interface handle
16766 to [ I ] - Timeout for transaction (in milliseconds)
16767 inLen [ I ] - Length of input buffer
16768 pIn [ I ] - Input buffer
16769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16770 contain, upon output the number of BYTEs copied
16771 to pOut
16772 pOut [ O ] - Output buffer
16773
16774 RETURN VALUE:
16775 ULONG - Return code
16776 ===========================================================================*/
16777 ULONG LOCSetSBASConfig(
16778 GOBIHANDLE handle,
16779 ULONG to,
16780 ULONG inLen,
16781 const BYTE * pIn,
16782 ULONG * pOutLen,
16783 BYTE * pOut )
16784 {
16785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16786 if (pAPI == 0)
16787 {
16788 return (ULONG)eGOBI_ERR_INTERNAL;
16789 }
16790
16791 ULONG svcID = 18;
16792 ULONG msgID = 60;
16793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16794 }
16795
16796 /*===========================================================================
16797 METHOD:
16798 LOCGetSBASConfig
16799
16800 DESCRIPTION:
16801 The function sends 'LOC/Get SBAS Config Request' (0x003D)
16802 and returns the response
16803
16804 PARAMETERS:
16805 handle [ I ] - Gobi interface handle
16806 to [ I ] - Timeout for transaction (in milliseconds)
16807 inLen [ I ] - Reserved for future use (set to 0)
16808 pIn [ I ] - Reserved for future use (set to 0)
16809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16810 contain, upon output the number of BYTEs copied
16811 to pOut
16812 pOut [ O ] - Output buffer
16813
16814 RETURN VALUE:
16815 ULONG - Return code
16816 ===========================================================================*/
16817 ULONG LOCGetSBASConfig(
16818 GOBIHANDLE handle,
16819 ULONG to,
16820 ULONG inLen,
16821 const BYTE * pIn,
16822 ULONG * pOutLen,
16823 BYTE * pOut )
16824 {
16825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16826 if (pAPI == 0)
16827 {
16828 return (ULONG)eGOBI_ERR_INTERNAL;
16829 }
16830
16831 ULONG svcID = 18;
16832 ULONG msgID = 61;
16833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16834 }
16835
16836 /*===========================================================================
16837 METHOD:
16838 LOCSetNMEATypes
16839
16840 DESCRIPTION:
16841 The function sends 'LOC/Set NMEA Types Request' (0x003E)
16842 and returns the response
16843
16844 PARAMETERS:
16845 handle [ I ] - Gobi interface handle
16846 to [ I ] - Timeout for transaction (in milliseconds)
16847 inLen [ I ] - Length of input buffer
16848 pIn [ I ] - Input buffer
16849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16850 contain, upon output the number of BYTEs copied
16851 to pOut
16852 pOut [ O ] - Output buffer
16853
16854 RETURN VALUE:
16855 ULONG - Return code
16856 ===========================================================================*/
16857 ULONG LOCSetNMEATypes(
16858 GOBIHANDLE handle,
16859 ULONG to,
16860 ULONG inLen,
16861 const BYTE * pIn,
16862 ULONG * pOutLen,
16863 BYTE * pOut )
16864 {
16865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16866 if (pAPI == 0)
16867 {
16868 return (ULONG)eGOBI_ERR_INTERNAL;
16869 }
16870
16871 ULONG svcID = 18;
16872 ULONG msgID = 62;
16873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16874 }
16875
16876 /*===========================================================================
16877 METHOD:
16878 LOCGetNMEATypes
16879
16880 DESCRIPTION:
16881 The function sends 'LOC/Get NMEA Types Request' (0x003F)
16882 and returns the response
16883
16884 PARAMETERS:
16885 handle [ I ] - Gobi interface handle
16886 to [ I ] - Timeout for transaction (in milliseconds)
16887 inLen [ I ] - Reserved for future use (set to 0)
16888 pIn [ I ] - Reserved for future use (set to 0)
16889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16890 contain, upon output the number of BYTEs copied
16891 to pOut
16892 pOut [ O ] - Output buffer
16893
16894 RETURN VALUE:
16895 ULONG - Return code
16896 ===========================================================================*/
16897 ULONG LOCGetNMEATypes(
16898 GOBIHANDLE handle,
16899 ULONG to,
16900 ULONG inLen,
16901 const BYTE * pIn,
16902 ULONG * pOutLen,
16903 BYTE * pOut )
16904 {
16905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16906 if (pAPI == 0)
16907 {
16908 return (ULONG)eGOBI_ERR_INTERNAL;
16909 }
16910
16911 ULONG svcID = 18;
16912 ULONG msgID = 63;
16913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16914 }
16915
16916 /*===========================================================================
16917 METHOD:
16918 LOCSetLowPowerMode
16919
16920 DESCRIPTION:
16921 The function sends 'LOC/Set Low Power Mode Request' (0x0040)
16922 and returns the response
16923
16924 PARAMETERS:
16925 handle [ I ] - Gobi interface handle
16926 to [ I ] - Timeout for transaction (in milliseconds)
16927 inLen [ I ] - Length of input buffer
16928 pIn [ I ] - Input buffer
16929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16930 contain, upon output the number of BYTEs copied
16931 to pOut
16932 pOut [ O ] - Output buffer
16933
16934 RETURN VALUE:
16935 ULONG - Return code
16936 ===========================================================================*/
16937 ULONG LOCSetLowPowerMode(
16938 GOBIHANDLE handle,
16939 ULONG to,
16940 ULONG inLen,
16941 const BYTE * pIn,
16942 ULONG * pOutLen,
16943 BYTE * pOut )
16944 {
16945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16946 if (pAPI == 0)
16947 {
16948 return (ULONG)eGOBI_ERR_INTERNAL;
16949 }
16950
16951 ULONG svcID = 18;
16952 ULONG msgID = 64;
16953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16954 }
16955
16956 /*===========================================================================
16957 METHOD:
16958 LOCGetLowPowerMode
16959
16960 DESCRIPTION:
16961 The function sends 'LOC/Get Low Power Mode Request' (0x0041)
16962 and returns the response
16963
16964 PARAMETERS:
16965 handle [ I ] - Gobi interface handle
16966 to [ I ] - Timeout for transaction (in milliseconds)
16967 inLen [ I ] - Reserved for future use (set to 0)
16968 pIn [ I ] - Reserved for future use (set to 0)
16969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
16970 contain, upon output the number of BYTEs copied
16971 to pOut
16972 pOut [ O ] - Output buffer
16973
16974 RETURN VALUE:
16975 ULONG - Return code
16976 ===========================================================================*/
16977 ULONG LOCGetLowPowerMode(
16978 GOBIHANDLE handle,
16979 ULONG to,
16980 ULONG inLen,
16981 const BYTE * pIn,
16982 ULONG * pOutLen,
16983 BYTE * pOut )
16984 {
16985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
16986 if (pAPI == 0)
16987 {
16988 return (ULONG)eGOBI_ERR_INTERNAL;
16989 }
16990
16991 ULONG svcID = 18;
16992 ULONG msgID = 65;
16993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
16994 }
16995
16996 /*===========================================================================
16997 METHOD:
16998 LOCSetLocationServer
16999
17000 DESCRIPTION:
17001 The function sends 'LOC/Set Location Server Request' (0x0042)
17002 and returns the response
17003
17004 PARAMETERS:
17005 handle [ I ] - Gobi interface handle
17006 to [ I ] - Timeout for transaction (in milliseconds)
17007 inLen [ I ] - Length of input buffer
17008 pIn [ I ] - Input buffer
17009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17010 contain, upon output the number of BYTEs copied
17011 to pOut
17012 pOut [ O ] - Output buffer
17013
17014 RETURN VALUE:
17015 ULONG - Return code
17016 ===========================================================================*/
17017 ULONG LOCSetLocationServer(
17018 GOBIHANDLE handle,
17019 ULONG to,
17020 ULONG inLen,
17021 const BYTE * pIn,
17022 ULONG * pOutLen,
17023 BYTE * pOut )
17024 {
17025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17026 if (pAPI == 0)
17027 {
17028 return (ULONG)eGOBI_ERR_INTERNAL;
17029 }
17030
17031 ULONG svcID = 18;
17032 ULONG msgID = 66;
17033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17034 }
17035
17036 /*===========================================================================
17037 METHOD:
17038 LOCGetLocationServer
17039
17040 DESCRIPTION:
17041 The function sends 'LOC/Get Location Server Request' (0x0043)
17042 and returns the response
17043
17044 PARAMETERS:
17045 handle [ I ] - Gobi interface handle
17046 to [ I ] - Timeout for transaction (in milliseconds)
17047 inLen [ I ] - Length of input buffer
17048 pIn [ I ] - Input buffer
17049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17050 contain, upon output the number of BYTEs copied
17051 to pOut
17052 pOut [ O ] - Output buffer
17053
17054 RETURN VALUE:
17055 ULONG - Return code
17056 ===========================================================================*/
17057 ULONG LOCGetLocationServer(
17058 GOBIHANDLE handle,
17059 ULONG to,
17060 ULONG inLen,
17061 const BYTE * pIn,
17062 ULONG * pOutLen,
17063 BYTE * pOut )
17064 {
17065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17066 if (pAPI == 0)
17067 {
17068 return (ULONG)eGOBI_ERR_INTERNAL;
17069 }
17070
17071 ULONG svcID = 18;
17072 ULONG msgID = 67;
17073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17074 }
17075
17076 /*===========================================================================
17077 METHOD:
17078 LOCDeleteAssistData
17079
17080 DESCRIPTION:
17081 The function sends 'LOC/Delete Assist Data Request' (0x0044)
17082 and returns the response
17083
17084 PARAMETERS:
17085 handle [ I ] - Gobi interface handle
17086 to [ I ] - Timeout for transaction (in milliseconds)
17087 inLen [ I ] - Length of input buffer
17088 pIn [ I ] - Input buffer
17089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17090 contain, upon output the number of BYTEs copied
17091 to pOut
17092 pOut [ O ] - Output buffer
17093
17094 RETURN VALUE:
17095 ULONG - Return code
17096 ===========================================================================*/
17097 ULONG LOCDeleteAssistData(
17098 GOBIHANDLE handle,
17099 ULONG to,
17100 ULONG inLen,
17101 const BYTE * pIn,
17102 ULONG * pOutLen,
17103 BYTE * pOut )
17104 {
17105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17106 if (pAPI == 0)
17107 {
17108 return (ULONG)eGOBI_ERR_INTERNAL;
17109 }
17110
17111 ULONG svcID = 18;
17112 ULONG msgID = 68;
17113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17114 }
17115
17116 /*===========================================================================
17117 METHOD:
17118 LOCSetXTRATSessionControl
17119
17120 DESCRIPTION:
17121 The function sends 'LOC/Set XTRA-T Session Control Request' (0x0045)
17122 and returns the response
17123
17124 PARAMETERS:
17125 handle [ I ] - Gobi interface handle
17126 to [ I ] - Timeout for transaction (in milliseconds)
17127 inLen [ I ] - Length of input buffer
17128 pIn [ I ] - Input buffer
17129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17130 contain, upon output the number of BYTEs copied
17131 to pOut
17132 pOut [ O ] - Output buffer
17133
17134 RETURN VALUE:
17135 ULONG - Return code
17136 ===========================================================================*/
17137 ULONG LOCSetXTRATSessionControl(
17138 GOBIHANDLE handle,
17139 ULONG to,
17140 ULONG inLen,
17141 const BYTE * pIn,
17142 ULONG * pOutLen,
17143 BYTE * pOut )
17144 {
17145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17146 if (pAPI == 0)
17147 {
17148 return (ULONG)eGOBI_ERR_INTERNAL;
17149 }
17150
17151 ULONG svcID = 18;
17152 ULONG msgID = 69;
17153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17154 }
17155
17156 /*===========================================================================
17157 METHOD:
17158 LOC
17159
17160 DESCRIPTION:
17161 The function sends 'LOC' (0x0046)
17162 and returns the response
17163
17164 PARAMETERS:
17165 handle [ I ] - Gobi interface handle
17166 to [ I ] - Timeout for transaction (in milliseconds)
17167 inLen [ I ] - Reserved for future use (set to 0)
17168 pIn [ I ] - Reserved for future use (set to 0)
17169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17170 contain, upon output the number of BYTEs copied
17171 to pOut
17172 pOut [ O ] - Output buffer
17173
17174 RETURN VALUE:
17175 ULONG - Return code
17176 ===========================================================================*/
17177 ULONG LOC(
17178 GOBIHANDLE handle,
17179 ULONG to,
17180 ULONG inLen,
17181 const BYTE * pIn,
17182 ULONG * pOutLen,
17183 BYTE * pOut )
17184 {
17185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17186 if (pAPI == 0)
17187 {
17188 return (ULONG)eGOBI_ERR_INTERNAL;
17189 }
17190
17191 ULONG svcID = 18;
17192 ULONG msgID = 70;
17193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17194 }
17195
17196 /*===========================================================================
17197 METHOD:
17198 LOCInjectWiFiPosition
17199
17200 DESCRIPTION:
17201 The function sends 'LOC/Inject Wi-Fi Position Request' (0x0047)
17202 and returns the response
17203
17204 PARAMETERS:
17205 handle [ I ] - Gobi interface handle
17206 to [ I ] - Timeout for transaction (in milliseconds)
17207 inLen [ I ] - Length of input buffer
17208 pIn [ I ] - Input buffer
17209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17210 contain, upon output the number of BYTEs copied
17211 to pOut
17212 pOut [ O ] - Output buffer
17213
17214 RETURN VALUE:
17215 ULONG - Return code
17216 ===========================================================================*/
17217 ULONG LOCInjectWiFiPosition(
17218 GOBIHANDLE handle,
17219 ULONG to,
17220 ULONG inLen,
17221 const BYTE * pIn,
17222 ULONG * pOutLen,
17223 BYTE * pOut )
17224 {
17225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17226 if (pAPI == 0)
17227 {
17228 return (ULONG)eGOBI_ERR_INTERNAL;
17229 }
17230
17231 ULONG svcID = 18;
17232 ULONG msgID = 71;
17233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17234 }
17235
17236 /*===========================================================================
17237 METHOD:
17238 LOCProvideWiFiStatus
17239
17240 DESCRIPTION:
17241 The function sends 'LOC/Provide Wi-Fi Status Request' (0x0048)
17242 and returns the response
17243
17244 PARAMETERS:
17245 handle [ I ] - Gobi interface handle
17246 to [ I ] - Timeout for transaction (in milliseconds)
17247 inLen [ I ] - Length of input buffer
17248 pIn [ I ] - Input buffer
17249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17250 contain, upon output the number of BYTEs copied
17251 to pOut
17252 pOut [ O ] - Output buffer
17253
17254 RETURN VALUE:
17255 ULONG - Return code
17256 ===========================================================================*/
17257 ULONG LOCProvideWiFiStatus(
17258 GOBIHANDLE handle,
17259 ULONG to,
17260 ULONG inLen,
17261 const BYTE * pIn,
17262 ULONG * pOutLen,
17263 BYTE * pOut )
17264 {
17265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17266 if (pAPI == 0)
17267 {
17268 return (ULONG)eGOBI_ERR_INTERNAL;
17269 }
17270
17271 ULONG svcID = 18;
17272 ULONG msgID = 72;
17273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17274 }
17275
17276 /*===========================================================================
17277 METHOD:
17278 LOCGetRegisteredEvents
17279
17280 DESCRIPTION:
17281 The function sends 'LOC/Get Registered Events Request' (0x0049)
17282 and returns the response
17283
17284 PARAMETERS:
17285 handle [ I ] - Gobi interface handle
17286 to [ I ] - Timeout for transaction (in milliseconds)
17287 inLen [ I ] - Reserved for future use (set to 0)
17288 pIn [ I ] - Reserved for future use (set to 0)
17289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17290 contain, upon output the number of BYTEs copied
17291 to pOut
17292 pOut [ O ] - Output buffer
17293
17294 RETURN VALUE:
17295 ULONG - Return code
17296 ===========================================================================*/
17297 ULONG LOCGetRegisteredEvents(
17298 GOBIHANDLE handle,
17299 ULONG to,
17300 ULONG inLen,
17301 const BYTE * pIn,
17302 ULONG * pOutLen,
17303 BYTE * pOut )
17304 {
17305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17306 if (pAPI == 0)
17307 {
17308 return (ULONG)eGOBI_ERR_INTERNAL;
17309 }
17310
17311 ULONG svcID = 18;
17312 ULONG msgID = 73;
17313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17314 }
17315
17316 /*===========================================================================
17317 METHOD:
17318 LOCSetOperationMode
17319
17320 DESCRIPTION:
17321 The function sends 'LOC/Set Operation Mode Request' (0x004A)
17322 and returns the response
17323
17324 PARAMETERS:
17325 handle [ I ] - Gobi interface handle
17326 to [ I ] - Timeout for transaction (in milliseconds)
17327 inLen [ I ] - Length of input buffer
17328 pIn [ I ] - Input buffer
17329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17330 contain, upon output the number of BYTEs copied
17331 to pOut
17332 pOut [ O ] - Output buffer
17333
17334 RETURN VALUE:
17335 ULONG - Return code
17336 ===========================================================================*/
17337 ULONG LOCSetOperationMode(
17338 GOBIHANDLE handle,
17339 ULONG to,
17340 ULONG inLen,
17341 const BYTE * pIn,
17342 ULONG * pOutLen,
17343 BYTE * pOut )
17344 {
17345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17346 if (pAPI == 0)
17347 {
17348 return (ULONG)eGOBI_ERR_INTERNAL;
17349 }
17350
17351 ULONG svcID = 18;
17352 ULONG msgID = 74;
17353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17354 }
17355
17356 /*===========================================================================
17357 METHOD:
17358 LOCGetOperationMode
17359
17360 DESCRIPTION:
17361 The function sends 'LOC/Get Operation Mode Request' (0x004B)
17362 and returns the response
17363
17364 PARAMETERS:
17365 handle [ I ] - Gobi interface handle
17366 to [ I ] - Timeout for transaction (in milliseconds)
17367 inLen [ I ] - Reserved for future use (set to 0)
17368 pIn [ I ] - Reserved for future use (set to 0)
17369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17370 contain, upon output the number of BYTEs copied
17371 to pOut
17372 pOut [ O ] - Output buffer
17373
17374 RETURN VALUE:
17375 ULONG - Return code
17376 ===========================================================================*/
17377 ULONG LOCGetOperationMode(
17378 GOBIHANDLE handle,
17379 ULONG to,
17380 ULONG inLen,
17381 const BYTE * pIn,
17382 ULONG * pOutLen,
17383 BYTE * pOut )
17384 {
17385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17386 if (pAPI == 0)
17387 {
17388 return (ULONG)eGOBI_ERR_INTERNAL;
17389 }
17390
17391 ULONG svcID = 18;
17392 ULONG msgID = 75;
17393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17394 }
17395
17396 /*===========================================================================
17397 METHOD:
17398 LOCSetSPIStatus
17399
17400 DESCRIPTION:
17401 The function sends 'LOC/Set SPI Status Request' (0x004C)
17402 and returns the response
17403
17404 PARAMETERS:
17405 handle [ I ] - Gobi interface handle
17406 to [ I ] - Timeout for transaction (in milliseconds)
17407 inLen [ I ] - Length of input buffer
17408 pIn [ I ] - Input buffer
17409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17410 contain, upon output the number of BYTEs copied
17411 to pOut
17412 pOut [ O ] - Output buffer
17413
17414 RETURN VALUE:
17415 ULONG - Return code
17416 ===========================================================================*/
17417 ULONG LOCSetSPIStatus(
17418 GOBIHANDLE handle,
17419 ULONG to,
17420 ULONG inLen,
17421 const BYTE * pIn,
17422 ULONG * pOutLen,
17423 BYTE * pOut )
17424 {
17425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17426 if (pAPI == 0)
17427 {
17428 return (ULONG)eGOBI_ERR_INTERNAL;
17429 }
17430
17431 ULONG svcID = 18;
17432 ULONG msgID = 76;
17433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17434 }
17435
17436 /*===========================================================================
17437 METHOD:
17438 LOCInjectSensorData
17439
17440 DESCRIPTION:
17441 The function sends 'LOC/Inject Sensor Data Request' (0x004D)
17442 and returns the response
17443
17444 PARAMETERS:
17445 handle [ I ] - Gobi interface handle
17446 to [ I ] - Timeout for transaction (in milliseconds)
17447 inLen [ I ] - Length of input buffer
17448 pIn [ I ] - Input buffer
17449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17450 contain, upon output the number of BYTEs copied
17451 to pOut
17452 pOut [ O ] - Output buffer
17453
17454 RETURN VALUE:
17455 ULONG - Return code
17456 ===========================================================================*/
17457 ULONG LOCInjectSensorData(
17458 GOBIHANDLE handle,
17459 ULONG to,
17460 ULONG inLen,
17461 const BYTE * pIn,
17462 ULONG * pOutLen,
17463 BYTE * pOut )
17464 {
17465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17466 if (pAPI == 0)
17467 {
17468 return (ULONG)eGOBI_ERR_INTERNAL;
17469 }
17470
17471 ULONG svcID = 18;
17472 ULONG msgID = 77;
17473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17474 }
17475
17476 /*===========================================================================
17477 METHOD:
17478 LOCInjectTimeSyncData
17479
17480 DESCRIPTION:
17481 The function sends 'LOC/Inject Time Sync Data Request' (0x004E)
17482 and returns the response
17483
17484 PARAMETERS:
17485 handle [ I ] - Gobi interface handle
17486 to [ I ] - Timeout for transaction (in milliseconds)
17487 inLen [ I ] - Length of input buffer
17488 pIn [ I ] - Input buffer
17489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17490 contain, upon output the number of BYTEs copied
17491 to pOut
17492 pOut [ O ] - Output buffer
17493
17494 RETURN VALUE:
17495 ULONG - Return code
17496 ===========================================================================*/
17497 ULONG LOCInjectTimeSyncData(
17498 GOBIHANDLE handle,
17499 ULONG to,
17500 ULONG inLen,
17501 const BYTE * pIn,
17502 ULONG * pOutLen,
17503 BYTE * pOut )
17504 {
17505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17506 if (pAPI == 0)
17507 {
17508 return (ULONG)eGOBI_ERR_INTERNAL;
17509 }
17510
17511 ULONG svcID = 18;
17512 ULONG msgID = 78;
17513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17514 }
17515
17516 /*===========================================================================
17517 METHOD:
17518 LOCSetCradleMountConfig
17519
17520 DESCRIPTION:
17521 The function sends 'LOC/Set Cradle Mount Config Request' (0x004F)
17522 and returns the response
17523
17524 PARAMETERS:
17525 handle [ I ] - Gobi interface handle
17526 to [ I ] - Timeout for transaction (in milliseconds)
17527 inLen [ I ] - Length of input buffer
17528 pIn [ I ] - Input buffer
17529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17530 contain, upon output the number of BYTEs copied
17531 to pOut
17532 pOut [ O ] - Output buffer
17533
17534 RETURN VALUE:
17535 ULONG - Return code
17536 ===========================================================================*/
17537 ULONG LOCSetCradleMountConfig(
17538 GOBIHANDLE handle,
17539 ULONG to,
17540 ULONG inLen,
17541 const BYTE * pIn,
17542 ULONG * pOutLen,
17543 BYTE * pOut )
17544 {
17545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17546 if (pAPI == 0)
17547 {
17548 return (ULONG)eGOBI_ERR_INTERNAL;
17549 }
17550
17551 ULONG svcID = 18;
17552 ULONG msgID = 79;
17553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17554 }
17555
17556 /*===========================================================================
17557 METHOD:
17558 LOCGetCradleMountConfig
17559
17560 DESCRIPTION:
17561 The function sends 'LOC/Get Cradle Mount Config Request' (0x0050)
17562 and returns the response
17563
17564 PARAMETERS:
17565 handle [ I ] - Gobi interface handle
17566 to [ I ] - Timeout for transaction (in milliseconds)
17567 inLen [ I ] - Reserved for future use (set to 0)
17568 pIn [ I ] - Reserved for future use (set to 0)
17569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17570 contain, upon output the number of BYTEs copied
17571 to pOut
17572 pOut [ O ] - Output buffer
17573
17574 RETURN VALUE:
17575 ULONG - Return code
17576 ===========================================================================*/
17577 ULONG LOCGetCradleMountConfig(
17578 GOBIHANDLE handle,
17579 ULONG to,
17580 ULONG inLen,
17581 const BYTE * pIn,
17582 ULONG * pOutLen,
17583 BYTE * pOut )
17584 {
17585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17586 if (pAPI == 0)
17587 {
17588 return (ULONG)eGOBI_ERR_INTERNAL;
17589 }
17590
17591 ULONG svcID = 18;
17592 ULONG msgID = 80;
17593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17594 }
17595
17596 /*===========================================================================
17597 METHOD:
17598 LOCSetExternalPowerConfig
17599
17600 DESCRIPTION:
17601 The function sends 'LOC/Set External Power Config Request' (0x0051)
17602 and returns the response
17603
17604 PARAMETERS:
17605 handle [ I ] - Gobi interface handle
17606 to [ I ] - Timeout for transaction (in milliseconds)
17607 inLen [ I ] - Length of input buffer
17608 pIn [ I ] - Input buffer
17609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17610 contain, upon output the number of BYTEs copied
17611 to pOut
17612 pOut [ O ] - Output buffer
17613
17614 RETURN VALUE:
17615 ULONG - Return code
17616 ===========================================================================*/
17617 ULONG LOCSetExternalPowerConfig(
17618 GOBIHANDLE handle,
17619 ULONG to,
17620 ULONG inLen,
17621 const BYTE * pIn,
17622 ULONG * pOutLen,
17623 BYTE * pOut )
17624 {
17625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17626 if (pAPI == 0)
17627 {
17628 return (ULONG)eGOBI_ERR_INTERNAL;
17629 }
17630
17631 ULONG svcID = 18;
17632 ULONG msgID = 81;
17633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17634 }
17635
17636 /*===========================================================================
17637 METHOD:
17638 LOCGetExternalPowerConfig
17639
17640 DESCRIPTION:
17641 The function sends 'LOC/Get External Power Config Request' (0x0052)
17642 and returns the response
17643
17644 PARAMETERS:
17645 handle [ I ] - Gobi interface handle
17646 to [ I ] - Timeout for transaction (in milliseconds)
17647 inLen [ I ] - Reserved for future use (set to 0)
17648 pIn [ I ] - Reserved for future use (set to 0)
17649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17650 contain, upon output the number of BYTEs copied
17651 to pOut
17652 pOut [ O ] - Output buffer
17653
17654 RETURN VALUE:
17655 ULONG - Return code
17656 ===========================================================================*/
17657 ULONG LOCGetExternalPowerConfig(
17658 GOBIHANDLE handle,
17659 ULONG to,
17660 ULONG inLen,
17661 const BYTE * pIn,
17662 ULONG * pOutLen,
17663 BYTE * pOut )
17664 {
17665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17666 if (pAPI == 0)
17667 {
17668 return (ULONG)eGOBI_ERR_INTERNAL;
17669 }
17670
17671 ULONG svcID = 18;
17672 ULONG msgID = 82;
17673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17674 }
17675
17676 /*===========================================================================
17677 METHOD:
17678 LOCProvideConnectionStatus
17679
17680 DESCRIPTION:
17681 The function sends 'LOC/Provide Connection Status Request' (0x0053)
17682 and returns the response
17683
17684 PARAMETERS:
17685 handle [ I ] - Gobi interface handle
17686 to [ I ] - Timeout for transaction (in milliseconds)
17687 inLen [ I ] - Length of input buffer
17688 pIn [ I ] - Input buffer
17689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17690 contain, upon output the number of BYTEs copied
17691 to pOut
17692 pOut [ O ] - Output buffer
17693
17694 RETURN VALUE:
17695 ULONG - Return code
17696 ===========================================================================*/
17697 ULONG LOCProvideConnectionStatus(
17698 GOBIHANDLE handle,
17699 ULONG to,
17700 ULONG inLen,
17701 const BYTE * pIn,
17702 ULONG * pOutLen,
17703 BYTE * pOut )
17704 {
17705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17706 if (pAPI == 0)
17707 {
17708 return (ULONG)eGOBI_ERR_INTERNAL;
17709 }
17710
17711 ULONG svcID = 18;
17712 ULONG msgID = 83;
17713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17714 }
17715
17716 /*===========================================================================
17717 METHOD:
17718 LOCSetProtocolConfigParameters
17719
17720 DESCRIPTION:
17721 The function sends 'LOC/Set Protocol Config Parameters Request' (0x0054)
17722 and returns the response
17723
17724 PARAMETERS:
17725 handle [ I ] - Gobi interface handle
17726 to [ I ] - Timeout for transaction (in milliseconds)
17727 inLen [ I ] - Length of input buffer
17728 pIn [ I ] - Input buffer
17729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17730 contain, upon output the number of BYTEs copied
17731 to pOut
17732 pOut [ O ] - Output buffer
17733
17734 RETURN VALUE:
17735 ULONG - Return code
17736 ===========================================================================*/
17737 ULONG LOCSetProtocolConfigParameters(
17738 GOBIHANDLE handle,
17739 ULONG to,
17740 ULONG inLen,
17741 const BYTE * pIn,
17742 ULONG * pOutLen,
17743 BYTE * pOut )
17744 {
17745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17746 if (pAPI == 0)
17747 {
17748 return (ULONG)eGOBI_ERR_INTERNAL;
17749 }
17750
17751 ULONG svcID = 18;
17752 ULONG msgID = 84;
17753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17754 }
17755
17756 /*===========================================================================
17757 METHOD:
17758 LOCGetProtocolConfigParameters
17759
17760 DESCRIPTION:
17761 The function sends 'LOC/Get Protocol Config Parameters Request' (0x0055)
17762 and returns the response
17763
17764 PARAMETERS:
17765 handle [ I ] - Gobi interface handle
17766 to [ I ] - Timeout for transaction (in milliseconds)
17767 inLen [ I ] - Length of input buffer
17768 pIn [ I ] - Input buffer
17769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17770 contain, upon output the number of BYTEs copied
17771 to pOut
17772 pOut [ O ] - Output buffer
17773
17774 RETURN VALUE:
17775 ULONG - Return code
17776 ===========================================================================*/
17777 ULONG LOCGetProtocolConfigParameters(
17778 GOBIHANDLE handle,
17779 ULONG to,
17780 ULONG inLen,
17781 const BYTE * pIn,
17782 ULONG * pOutLen,
17783 BYTE * pOut )
17784 {
17785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17786 if (pAPI == 0)
17787 {
17788 return (ULONG)eGOBI_ERR_INTERNAL;
17789 }
17790
17791 ULONG svcID = 18;
17792 ULONG msgID = 85;
17793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17794 }
17795
17796 /*===========================================================================
17797 METHOD:
17798 LOCSetSensorControlConfig
17799
17800 DESCRIPTION:
17801 The function sends 'LOC/Set Sensor Control Config Request' (0x0056)
17802 and returns the response
17803
17804 PARAMETERS:
17805 handle [ I ] - Gobi interface handle
17806 to [ I ] - Timeout for transaction (in milliseconds)
17807 inLen [ I ] - Length of input buffer
17808 pIn [ I ] - Input buffer
17809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17810 contain, upon output the number of BYTEs copied
17811 to pOut
17812 pOut [ O ] - Output buffer
17813
17814 RETURN VALUE:
17815 ULONG - Return code
17816 ===========================================================================*/
17817 ULONG LOCSetSensorControlConfig(
17818 GOBIHANDLE handle,
17819 ULONG to,
17820 ULONG inLen,
17821 const BYTE * pIn,
17822 ULONG * pOutLen,
17823 BYTE * pOut )
17824 {
17825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17826 if (pAPI == 0)
17827 {
17828 return (ULONG)eGOBI_ERR_INTERNAL;
17829 }
17830
17831 ULONG svcID = 18;
17832 ULONG msgID = 86;
17833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17834 }
17835
17836 /*===========================================================================
17837 METHOD:
17838 LOCGetSensorControlConfig
17839
17840 DESCRIPTION:
17841 The function sends 'LOC/Get Sensor Control Config Request' (0x0057)
17842 and returns the response
17843
17844 PARAMETERS:
17845 handle [ I ] - Gobi interface handle
17846 to [ I ] - Timeout for transaction (in milliseconds)
17847 inLen [ I ] - Reserved for future use (set to 0)
17848 pIn [ I ] - Reserved for future use (set to 0)
17849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17850 contain, upon output the number of BYTEs copied
17851 to pOut
17852 pOut [ O ] - Output buffer
17853
17854 RETURN VALUE:
17855 ULONG - Return code
17856 ===========================================================================*/
17857 ULONG LOCGetSensorControlConfig(
17858 GOBIHANDLE handle,
17859 ULONG to,
17860 ULONG inLen,
17861 const BYTE * pIn,
17862 ULONG * pOutLen,
17863 BYTE * pOut )
17864 {
17865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17866 if (pAPI == 0)
17867 {
17868 return (ULONG)eGOBI_ERR_INTERNAL;
17869 }
17870
17871 ULONG svcID = 18;
17872 ULONG msgID = 87;
17873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17874 }
17875
17876 /*===========================================================================
17877 METHOD:
17878 LOCSetSensorProperties
17879
17880 DESCRIPTION:
17881 The function sends 'LOC/Set Sensor Properties Request' (0x0058)
17882 and returns the response
17883
17884 PARAMETERS:
17885 handle [ I ] - Gobi interface handle
17886 to [ I ] - Timeout for transaction (in milliseconds)
17887 inLen [ I ] - Length of input buffer
17888 pIn [ I ] - Input buffer
17889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17890 contain, upon output the number of BYTEs copied
17891 to pOut
17892 pOut [ O ] - Output buffer
17893
17894 RETURN VALUE:
17895 ULONG - Return code
17896 ===========================================================================*/
17897 ULONG LOCSetSensorProperties(
17898 GOBIHANDLE handle,
17899 ULONG to,
17900 ULONG inLen,
17901 const BYTE * pIn,
17902 ULONG * pOutLen,
17903 BYTE * pOut )
17904 {
17905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17906 if (pAPI == 0)
17907 {
17908 return (ULONG)eGOBI_ERR_INTERNAL;
17909 }
17910
17911 ULONG svcID = 18;
17912 ULONG msgID = 88;
17913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17914 }
17915
17916 /*===========================================================================
17917 METHOD:
17918 LOCGetSensorProperties
17919
17920 DESCRIPTION:
17921 The function sends 'LOC/Get Sensor Properties Request' (0x0059)
17922 and returns the response
17923
17924 PARAMETERS:
17925 handle [ I ] - Gobi interface handle
17926 to [ I ] - Timeout for transaction (in milliseconds)
17927 inLen [ I ] - Length of input buffer
17928 pIn [ I ] - Input buffer
17929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17930 contain, upon output the number of BYTEs copied
17931 to pOut
17932 pOut [ O ] - Output buffer
17933
17934 RETURN VALUE:
17935 ULONG - Return code
17936 ===========================================================================*/
17937 ULONG LOCGetSensorProperties(
17938 GOBIHANDLE handle,
17939 ULONG to,
17940 ULONG inLen,
17941 const BYTE * pIn,
17942 ULONG * pOutLen,
17943 BYTE * pOut )
17944 {
17945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17946 if (pAPI == 0)
17947 {
17948 return (ULONG)eGOBI_ERR_INTERNAL;
17949 }
17950
17951 ULONG svcID = 18;
17952 ULONG msgID = 89;
17953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17954 }
17955
17956 /*===========================================================================
17957 METHOD:
17958 LOCSetSensorPerformanceConfig
17959
17960 DESCRIPTION:
17961 The function sends 'LOC/Set Sensor Performance Config Request' (0x005A)
17962 and returns the response
17963
17964 PARAMETERS:
17965 handle [ I ] - Gobi interface handle
17966 to [ I ] - Timeout for transaction (in milliseconds)
17967 inLen [ I ] - Length of input buffer
17968 pIn [ I ] - Input buffer
17969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
17970 contain, upon output the number of BYTEs copied
17971 to pOut
17972 pOut [ O ] - Output buffer
17973
17974 RETURN VALUE:
17975 ULONG - Return code
17976 ===========================================================================*/
17977 ULONG LOCSetSensorPerformanceConfig(
17978 GOBIHANDLE handle,
17979 ULONG to,
17980 ULONG inLen,
17981 const BYTE * pIn,
17982 ULONG * pOutLen,
17983 BYTE * pOut )
17984 {
17985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
17986 if (pAPI == 0)
17987 {
17988 return (ULONG)eGOBI_ERR_INTERNAL;
17989 }
17990
17991 ULONG svcID = 18;
17992 ULONG msgID = 90;
17993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
17994 }
17995
17996 /*===========================================================================
17997 METHOD:
17998 LOCGetSensorPerformanceConfig
17999
18000 DESCRIPTION:
18001 The function sends 'LOC/Get Sensor Performance Config Request' (0x005B)
18002 and returns the response
18003
18004 PARAMETERS:
18005 handle [ I ] - Gobi interface handle
18006 to [ I ] - Timeout for transaction (in milliseconds)
18007 inLen [ I ] - Reserved for future use (set to 0)
18008 pIn [ I ] - Reserved for future use (set to 0)
18009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18010 contain, upon output the number of BYTEs copied
18011 to pOut
18012 pOut [ O ] - Output buffer
18013
18014 RETURN VALUE:
18015 ULONG - Return code
18016 ===========================================================================*/
18017 ULONG LOCGetSensorPerformanceConfig(
18018 GOBIHANDLE handle,
18019 ULONG to,
18020 ULONG inLen,
18021 const BYTE * pIn,
18022 ULONG * pOutLen,
18023 BYTE * pOut )
18024 {
18025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18026 if (pAPI == 0)
18027 {
18028 return (ULONG)eGOBI_ERR_INTERNAL;
18029 }
18030
18031 ULONG svcID = 18;
18032 ULONG msgID = 91;
18033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18034 }
18035
18036 /*===========================================================================
18037 METHOD:
18038 LOCInjectSUPLCertificate
18039
18040 DESCRIPTION:
18041 The function sends 'LOC/Inject SUPL Certificate Request' (0x005C)
18042 and returns the response
18043
18044 PARAMETERS:
18045 handle [ I ] - Gobi interface handle
18046 to [ I ] - Timeout for transaction (in milliseconds)
18047 inLen [ I ] - Length of input buffer
18048 pIn [ I ] - Input buffer
18049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18050 contain, upon output the number of BYTEs copied
18051 to pOut
18052 pOut [ O ] - Output buffer
18053
18054 RETURN VALUE:
18055 ULONG - Return code
18056 ===========================================================================*/
18057 ULONG LOCInjectSUPLCertificate(
18058 GOBIHANDLE handle,
18059 ULONG to,
18060 ULONG inLen,
18061 const BYTE * pIn,
18062 ULONG * pOutLen,
18063 BYTE * pOut )
18064 {
18065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18066 if (pAPI == 0)
18067 {
18068 return (ULONG)eGOBI_ERR_INTERNAL;
18069 }
18070
18071 ULONG svcID = 18;
18072 ULONG msgID = 92;
18073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18074 }
18075
18076 /*===========================================================================
18077 METHOD:
18078 LOCDeleteSUPLCertificate
18079
18080 DESCRIPTION:
18081 The function sends 'LOC/Delete SUPL Certificate Request' (0x005D)
18082 and returns the response
18083
18084 PARAMETERS:
18085 handle [ I ] - Gobi interface handle
18086 to [ I ] - Timeout for transaction (in milliseconds)
18087 inLen [ I ] - Length of input buffer
18088 pIn [ I ] - Input buffer
18089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18090 contain, upon output the number of BYTEs copied
18091 to pOut
18092 pOut [ O ] - Output buffer
18093
18094 RETURN VALUE:
18095 ULONG - Return code
18096 ===========================================================================*/
18097 ULONG LOCDeleteSUPLCertificate(
18098 GOBIHANDLE handle,
18099 ULONG to,
18100 ULONG inLen,
18101 const BYTE * pIn,
18102 ULONG * pOutLen,
18103 BYTE * pOut )
18104 {
18105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18106 if (pAPI == 0)
18107 {
18108 return (ULONG)eGOBI_ERR_INTERNAL;
18109 }
18110
18111 ULONG svcID = 18;
18112 ULONG msgID = 93;
18113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18114 }
18115
18116 /*===========================================================================
18117 METHOD:
18118 LOCSetPositionEngineConfig
18119
18120 DESCRIPTION:
18121 The function sends 'LOC/Set Position Engine Config Request' (0x005E)
18122 and returns the response
18123
18124 PARAMETERS:
18125 handle [ I ] - Gobi interface handle
18126 to [ I ] - Timeout for transaction (in milliseconds)
18127 inLen [ I ] - Length of input buffer
18128 pIn [ I ] - Input buffer
18129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18130 contain, upon output the number of BYTEs copied
18131 to pOut
18132 pOut [ O ] - Output buffer
18133
18134 RETURN VALUE:
18135 ULONG - Return code
18136 ===========================================================================*/
18137 ULONG LOCSetPositionEngineConfig(
18138 GOBIHANDLE handle,
18139 ULONG to,
18140 ULONG inLen,
18141 const BYTE * pIn,
18142 ULONG * pOutLen,
18143 BYTE * pOut )
18144 {
18145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18146 if (pAPI == 0)
18147 {
18148 return (ULONG)eGOBI_ERR_INTERNAL;
18149 }
18150
18151 ULONG svcID = 18;
18152 ULONG msgID = 94;
18153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18154 }
18155
18156 /*===========================================================================
18157 METHOD:
18158 LOCGetPositionEngineConfig
18159
18160 DESCRIPTION:
18161 The function sends 'LOC/Get Position Engine Config Request' (0x005F)
18162 and returns the response
18163
18164 PARAMETERS:
18165 handle [ I ] - Gobi interface handle
18166 to [ I ] - Timeout for transaction (in milliseconds)
18167 inLen [ I ] - Length of input buffer
18168 pIn [ I ] - Input buffer
18169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18170 contain, upon output the number of BYTEs copied
18171 to pOut
18172 pOut [ O ] - Output buffer
18173
18174 RETURN VALUE:
18175 ULONG - Return code
18176 ===========================================================================*/
18177 ULONG LOCGetPositionEngineConfig(
18178 GOBIHANDLE handle,
18179 ULONG to,
18180 ULONG inLen,
18181 const BYTE * pIn,
18182 ULONG * pOutLen,
18183 BYTE * pOut )
18184 {
18185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18186 if (pAPI == 0)
18187 {
18188 return (ULONG)eGOBI_ERR_INTERNAL;
18189 }
18190
18191 ULONG svcID = 18;
18192 ULONG msgID = 95;
18193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18194 }
18195
18196 /*===========================================================================
18197 METHOD:
18198 LOCAddCircularGeofence
18199
18200 DESCRIPTION:
18201 The function sends 'LOC/Add Circular Geofence Request' (0x0063)
18202 and returns the response
18203
18204 PARAMETERS:
18205 handle [ I ] - Gobi interface handle
18206 to [ I ] - Timeout for transaction (in milliseconds)
18207 inLen [ I ] - Length of input buffer
18208 pIn [ I ] - Input buffer
18209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18210 contain, upon output the number of BYTEs copied
18211 to pOut
18212 pOut [ O ] - Output buffer
18213
18214 RETURN VALUE:
18215 ULONG - Return code
18216 ===========================================================================*/
18217 ULONG LOCAddCircularGeofence(
18218 GOBIHANDLE handle,
18219 ULONG to,
18220 ULONG inLen,
18221 const BYTE * pIn,
18222 ULONG * pOutLen,
18223 BYTE * pOut )
18224 {
18225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18226 if (pAPI == 0)
18227 {
18228 return (ULONG)eGOBI_ERR_INTERNAL;
18229 }
18230
18231 ULONG svcID = 18;
18232 ULONG msgID = 99;
18233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18234 }
18235
18236 /*===========================================================================
18237 METHOD:
18238 LOCDeleteGeofence
18239
18240 DESCRIPTION:
18241 The function sends 'LOC/Delete Geofence Request' (0x0064)
18242 and returns the response
18243
18244 PARAMETERS:
18245 handle [ I ] - Gobi interface handle
18246 to [ I ] - Timeout for transaction (in milliseconds)
18247 inLen [ I ] - Length of input buffer
18248 pIn [ I ] - Input buffer
18249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18250 contain, upon output the number of BYTEs copied
18251 to pOut
18252 pOut [ O ] - Output buffer
18253
18254 RETURN VALUE:
18255 ULONG - Return code
18256 ===========================================================================*/
18257 ULONG LOCDeleteGeofence(
18258 GOBIHANDLE handle,
18259 ULONG to,
18260 ULONG inLen,
18261 const BYTE * pIn,
18262 ULONG * pOutLen,
18263 BYTE * pOut )
18264 {
18265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18266 if (pAPI == 0)
18267 {
18268 return (ULONG)eGOBI_ERR_INTERNAL;
18269 }
18270
18271 ULONG svcID = 18;
18272 ULONG msgID = 100;
18273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18274 }
18275
18276 /*===========================================================================
18277 METHOD:
18278 LOCQueryGeofence
18279
18280 DESCRIPTION:
18281 The function sends 'LOC/Query Geofence Request' (0x0065)
18282 and returns the response
18283
18284 PARAMETERS:
18285 handle [ I ] - Gobi interface handle
18286 to [ I ] - Timeout for transaction (in milliseconds)
18287 inLen [ I ] - Length of input buffer
18288 pIn [ I ] - Input buffer
18289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18290 contain, upon output the number of BYTEs copied
18291 to pOut
18292 pOut [ O ] - Output buffer
18293
18294 RETURN VALUE:
18295 ULONG - Return code
18296 ===========================================================================*/
18297 ULONG LOCQueryGeofence(
18298 GOBIHANDLE handle,
18299 ULONG to,
18300 ULONG inLen,
18301 const BYTE * pIn,
18302 ULONG * pOutLen,
18303 BYTE * pOut )
18304 {
18305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18306 if (pAPI == 0)
18307 {
18308 return (ULONG)eGOBI_ERR_INTERNAL;
18309 }
18310
18311 ULONG svcID = 18;
18312 ULONG msgID = 101;
18313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18314 }
18315
18316 /*===========================================================================
18317 METHOD:
18318 LOCEditGeofence
18319
18320 DESCRIPTION:
18321 The function sends 'LOC/Edit Geofence Request' (0x0066)
18322 and returns the response
18323
18324 PARAMETERS:
18325 handle [ I ] - Gobi interface handle
18326 to [ I ] - Timeout for transaction (in milliseconds)
18327 inLen [ I ] - Length of input buffer
18328 pIn [ I ] - Input buffer
18329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18330 contain, upon output the number of BYTEs copied
18331 to pOut
18332 pOut [ O ] - Output buffer
18333
18334 RETURN VALUE:
18335 ULONG - Return code
18336 ===========================================================================*/
18337 ULONG LOCEditGeofence(
18338 GOBIHANDLE handle,
18339 ULONG to,
18340 ULONG inLen,
18341 const BYTE * pIn,
18342 ULONG * pOutLen,
18343 BYTE * pOut )
18344 {
18345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18346 if (pAPI == 0)
18347 {
18348 return (ULONG)eGOBI_ERR_INTERNAL;
18349 }
18350
18351 ULONG svcID = 18;
18352 ULONG msgID = 102;
18353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18354 }
18355
18356 /*===========================================================================
18357 METHOD:
18358 LOCGetBestAvailablePosition
18359
18360 DESCRIPTION:
18361 The function sends 'LOC/Get Best Available Position Request' (0x0067)
18362 and returns the response
18363
18364 PARAMETERS:
18365 handle [ I ] - Gobi interface handle
18366 to [ I ] - Timeout for transaction (in milliseconds)
18367 inLen [ I ] - Length of input buffer
18368 pIn [ I ] - Input buffer
18369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18370 contain, upon output the number of BYTEs copied
18371 to pOut
18372 pOut [ O ] - Output buffer
18373
18374 RETURN VALUE:
18375 ULONG - Return code
18376 ===========================================================================*/
18377 ULONG LOCGetBestAvailablePosition(
18378 GOBIHANDLE handle,
18379 ULONG to,
18380 ULONG inLen,
18381 const BYTE * pIn,
18382 ULONG * pOutLen,
18383 BYTE * pOut )
18384 {
18385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18386 if (pAPI == 0)
18387 {
18388 return (ULONG)eGOBI_ERR_INTERNAL;
18389 }
18390
18391 ULONG svcID = 18;
18392 ULONG msgID = 103;
18393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18394 }
18395
18396 /*===========================================================================
18397 METHOD:
18398 CATReset
18399
18400 DESCRIPTION:
18401 The function sends 'CAT/Reset Request' (0x0000)
18402 and returns the response
18403
18404 PARAMETERS:
18405 handle [ I ] - Gobi interface handle
18406 to [ I ] - Timeout for transaction (in milliseconds)
18407 inLen [ I ] - Reserved for future use (set to 0)
18408 pIn [ I ] - Reserved for future use (set to 0)
18409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18410 contain, upon output the number of BYTEs copied
18411 to pOut
18412 pOut [ O ] - Output buffer
18413
18414 RETURN VALUE:
18415 ULONG - Return code
18416 ===========================================================================*/
18417 ULONG CATReset(
18418 GOBIHANDLE handle,
18419 ULONG to,
18420 ULONG inLen,
18421 const BYTE * pIn,
18422 ULONG * pOutLen,
18423 BYTE * pOut )
18424 {
18425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18426 if (pAPI == 0)
18427 {
18428 return (ULONG)eGOBI_ERR_INTERNAL;
18429 }
18430
18431 ULONG svcID = 224;
18432 ULONG msgID = 0;
18433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18434 }
18435
18436 /*===========================================================================
18437 METHOD:
18438 CATSetEventReport
18439
18440 DESCRIPTION:
18441 The function sends 'CAT/Set Event Report Request' (0x0001)
18442 and returns the response
18443
18444 PARAMETERS:
18445 handle [ I ] - Gobi interface handle
18446 to [ I ] - Timeout for transaction (in milliseconds)
18447 inLen [ I ] - Length of input buffer
18448 pIn [ I ] - Input buffer
18449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18450 contain, upon output the number of BYTEs copied
18451 to pOut
18452 pOut [ O ] - Output buffer
18453
18454 RETURN VALUE:
18455 ULONG - Return code
18456 ===========================================================================*/
18457 ULONG CATSetEventReport(
18458 GOBIHANDLE handle,
18459 ULONG to,
18460 ULONG inLen,
18461 const BYTE * pIn,
18462 ULONG * pOutLen,
18463 BYTE * pOut )
18464 {
18465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18466 if (pAPI == 0)
18467 {
18468 return (ULONG)eGOBI_ERR_INTERNAL;
18469 }
18470
18471 ULONG svcID = 224;
18472 ULONG msgID = 1;
18473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18474 }
18475
18476 /*===========================================================================
18477 METHOD:
18478 CATGetServiceState
18479
18480 DESCRIPTION:
18481 The function sends 'CAT/Get Service State Request' (0x0020)
18482 and returns the response
18483
18484 PARAMETERS:
18485 handle [ I ] - Gobi interface handle
18486 to [ I ] - Timeout for transaction (in milliseconds)
18487 inLen [ I ] - Reserved for future use (set to 0)
18488 pIn [ I ] - Reserved for future use (set to 0)
18489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18490 contain, upon output the number of BYTEs copied
18491 to pOut
18492 pOut [ O ] - Output buffer
18493
18494 RETURN VALUE:
18495 ULONG - Return code
18496 ===========================================================================*/
18497 ULONG CATGetServiceState(
18498 GOBIHANDLE handle,
18499 ULONG to,
18500 ULONG inLen,
18501 const BYTE * pIn,
18502 ULONG * pOutLen,
18503 BYTE * pOut )
18504 {
18505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18506 if (pAPI == 0)
18507 {
18508 return (ULONG)eGOBI_ERR_INTERNAL;
18509 }
18510
18511 ULONG svcID = 224;
18512 ULONG msgID = 32;
18513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18514 }
18515
18516 /*===========================================================================
18517 METHOD:
18518 CATSendTerminalResponse
18519
18520 DESCRIPTION:
18521 The function sends 'CAT/Send Terminal Response Request' (0x0021)
18522 and returns the response
18523
18524 PARAMETERS:
18525 handle [ I ] - Gobi interface handle
18526 to [ I ] - Timeout for transaction (in milliseconds)
18527 inLen [ I ] - Length of input buffer
18528 pIn [ I ] - Input buffer
18529 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18530 contain, upon output the number of BYTEs copied
18531 to pOut
18532 pOut [ O ] - Output buffer
18533
18534 RETURN VALUE:
18535 ULONG - Return code
18536 ===========================================================================*/
18537 ULONG CATSendTerminalResponse(
18538 GOBIHANDLE handle,
18539 ULONG to,
18540 ULONG inLen,
18541 const BYTE * pIn,
18542 ULONG * pOutLen,
18543 BYTE * pOut )
18544 {
18545 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18546 if (pAPI == 0)
18547 {
18548 return (ULONG)eGOBI_ERR_INTERNAL;
18549 }
18550
18551 ULONG svcID = 224;
18552 ULONG msgID = 33;
18553 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18554 }
18555
18556 /*===========================================================================
18557 METHOD:
18558 CATEnvelopeCommand
18559
18560 DESCRIPTION:
18561 The function sends 'CAT/Envelope Command Request' (0x0022)
18562 and returns the response
18563
18564 PARAMETERS:
18565 handle [ I ] - Gobi interface handle
18566 to [ I ] - Timeout for transaction (in milliseconds)
18567 inLen [ I ] - Length of input buffer
18568 pIn [ I ] - Input buffer
18569 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18570 contain, upon output the number of BYTEs copied
18571 to pOut
18572 pOut [ O ] - Output buffer
18573
18574 RETURN VALUE:
18575 ULONG - Return code
18576 ===========================================================================*/
18577 ULONG CATEnvelopeCommand(
18578 GOBIHANDLE handle,
18579 ULONG to,
18580 ULONG inLen,
18581 const BYTE * pIn,
18582 ULONG * pOutLen,
18583 BYTE * pOut )
18584 {
18585 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18586 if (pAPI == 0)
18587 {
18588 return (ULONG)eGOBI_ERR_INTERNAL;
18589 }
18590
18591 ULONG svcID = 224;
18592 ULONG msgID = 34;
18593 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18594 }
18595
18596 /*===========================================================================
18597 METHOD:
18598 CATGetEventReport
18599
18600 DESCRIPTION:
18601 The function sends 'CAT/Get Event Report Request' (0x0023)
18602 and returns the response
18603
18604 PARAMETERS:
18605 handle [ I ] - Gobi interface handle
18606 to [ I ] - Timeout for transaction (in milliseconds)
18607 inLen [ I ] - Length of input buffer
18608 pIn [ I ] - Input buffer
18609 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18610 contain, upon output the number of BYTEs copied
18611 to pOut
18612 pOut [ O ] - Output buffer
18613
18614 RETURN VALUE:
18615 ULONG - Return code
18616 ===========================================================================*/
18617 ULONG CATGetEventReport(
18618 GOBIHANDLE handle,
18619 ULONG to,
18620 ULONG inLen,
18621 const BYTE * pIn,
18622 ULONG * pOutLen,
18623 BYTE * pOut )
18624 {
18625 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18626 if (pAPI == 0)
18627 {
18628 return (ULONG)eGOBI_ERR_INTERNAL;
18629 }
18630
18631 ULONG svcID = 224;
18632 ULONG msgID = 35;
18633 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18634 }
18635
18636 /*===========================================================================
18637 METHOD:
18638 CATSendDecodedTerminalResponse
18639
18640 DESCRIPTION:
18641 The function sends 'CAT/Send Decoded Terminal Response Request' (0x0024)
18642 and returns the response
18643
18644 PARAMETERS:
18645 handle [ I ] - Gobi interface handle
18646 to [ I ] - Timeout for transaction (in milliseconds)
18647 inLen [ I ] - Length of input buffer
18648 pIn [ I ] - Input buffer
18649 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18650 contain, upon output the number of BYTEs copied
18651 to pOut
18652 pOut [ O ] - Output buffer
18653
18654 RETURN VALUE:
18655 ULONG - Return code
18656 ===========================================================================*/
18657 ULONG CATSendDecodedTerminalResponse(
18658 GOBIHANDLE handle,
18659 ULONG to,
18660 ULONG inLen,
18661 const BYTE * pIn,
18662 ULONG * pOutLen,
18663 BYTE * pOut )
18664 {
18665 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18666 if (pAPI == 0)
18667 {
18668 return (ULONG)eGOBI_ERR_INTERNAL;
18669 }
18670
18671 ULONG svcID = 224;
18672 ULONG msgID = 36;
18673 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18674 }
18675
18676 /*===========================================================================
18677 METHOD:
18678 CATSendDecodedEnvelopeCommand
18679
18680 DESCRIPTION:
18681 The function sends 'CAT/Send Decoded Envelope Command Request' (0x0025)
18682 and returns the response
18683
18684 PARAMETERS:
18685 handle [ I ] - Gobi interface handle
18686 to [ I ] - Timeout for transaction (in milliseconds)
18687 inLen [ I ] - Length of input buffer
18688 pIn [ I ] - Input buffer
18689 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18690 contain, upon output the number of BYTEs copied
18691 to pOut
18692 pOut [ O ] - Output buffer
18693
18694 RETURN VALUE:
18695 ULONG - Return code
18696 ===========================================================================*/
18697 ULONG CATSendDecodedEnvelopeCommand(
18698 GOBIHANDLE handle,
18699 ULONG to,
18700 ULONG inLen,
18701 const BYTE * pIn,
18702 ULONG * pOutLen,
18703 BYTE * pOut )
18704 {
18705 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18706 if (pAPI == 0)
18707 {
18708 return (ULONG)eGOBI_ERR_INTERNAL;
18709 }
18710
18711 ULONG svcID = 224;
18712 ULONG msgID = 37;
18713 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18714 }
18715
18716 /*===========================================================================
18717 METHOD:
18718 CATEventConfirmation
18719
18720 DESCRIPTION:
18721 The function sends 'CAT/Event Confirmation Request' (0x0026)
18722 and returns the response
18723
18724 PARAMETERS:
18725 handle [ I ] - Gobi interface handle
18726 to [ I ] - Timeout for transaction (in milliseconds)
18727 inLen [ I ] - Length of input buffer
18728 pIn [ I ] - Input buffer
18729 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18730 contain, upon output the number of BYTEs copied
18731 to pOut
18732 pOut [ O ] - Output buffer
18733
18734 RETURN VALUE:
18735 ULONG - Return code
18736 ===========================================================================*/
18737 ULONG CATEventConfirmation(
18738 GOBIHANDLE handle,
18739 ULONG to,
18740 ULONG inLen,
18741 const BYTE * pIn,
18742 ULONG * pOutLen,
18743 BYTE * pOut )
18744 {
18745 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18746 if (pAPI == 0)
18747 {
18748 return (ULONG)eGOBI_ERR_INTERNAL;
18749 }
18750
18751 ULONG svcID = 224;
18752 ULONG msgID = 38;
18753 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18754 }
18755
18756 /*===========================================================================
18757 METHOD:
18758 CATSCWSOpenChannel
18759
18760 DESCRIPTION:
18761 The function sends 'CAT/SCWS Open Channel Request' (0x0027)
18762 and returns the response
18763
18764 PARAMETERS:
18765 handle [ I ] - Gobi interface handle
18766 to [ I ] - Timeout for transaction (in milliseconds)
18767 inLen [ I ] - Length of input buffer
18768 pIn [ I ] - Input buffer
18769 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18770 contain, upon output the number of BYTEs copied
18771 to pOut
18772 pOut [ O ] - Output buffer
18773
18774 RETURN VALUE:
18775 ULONG - Return code
18776 ===========================================================================*/
18777 ULONG CATSCWSOpenChannel(
18778 GOBIHANDLE handle,
18779 ULONG to,
18780 ULONG inLen,
18781 const BYTE * pIn,
18782 ULONG * pOutLen,
18783 BYTE * pOut )
18784 {
18785 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18786 if (pAPI == 0)
18787 {
18788 return (ULONG)eGOBI_ERR_INTERNAL;
18789 }
18790
18791 ULONG svcID = 224;
18792 ULONG msgID = 39;
18793 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18794 }
18795
18796 /*===========================================================================
18797 METHOD:
18798 CATSCWSCloseChannel
18799
18800 DESCRIPTION:
18801 The function sends 'CAT/SCWS Close Channel Request' (0x0028)
18802 and returns the response
18803
18804 PARAMETERS:
18805 handle [ I ] - Gobi interface handle
18806 to [ I ] - Timeout for transaction (in milliseconds)
18807 inLen [ I ] - Length of input buffer
18808 pIn [ I ] - Input buffer
18809 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18810 contain, upon output the number of BYTEs copied
18811 to pOut
18812 pOut [ O ] - Output buffer
18813
18814 RETURN VALUE:
18815 ULONG - Return code
18816 ===========================================================================*/
18817 ULONG CATSCWSCloseChannel(
18818 GOBIHANDLE handle,
18819 ULONG to,
18820 ULONG inLen,
18821 const BYTE * pIn,
18822 ULONG * pOutLen,
18823 BYTE * pOut )
18824 {
18825 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18826 if (pAPI == 0)
18827 {
18828 return (ULONG)eGOBI_ERR_INTERNAL;
18829 }
18830
18831 ULONG svcID = 224;
18832 ULONG msgID = 40;
18833 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18834 }
18835
18836 /*===========================================================================
18837 METHOD:
18838 CATSCWSSendData
18839
18840 DESCRIPTION:
18841 The function sends 'CAT/SCWS Send Data Request' (0x0029)
18842 and returns the response
18843
18844 PARAMETERS:
18845 handle [ I ] - Gobi interface handle
18846 to [ I ] - Timeout for transaction (in milliseconds)
18847 inLen [ I ] - Length of input buffer
18848 pIn [ I ] - Input buffer
18849 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18850 contain, upon output the number of BYTEs copied
18851 to pOut
18852 pOut [ O ] - Output buffer
18853
18854 RETURN VALUE:
18855 ULONG - Return code
18856 ===========================================================================*/
18857 ULONG CATSCWSSendData(
18858 GOBIHANDLE handle,
18859 ULONG to,
18860 ULONG inLen,
18861 const BYTE * pIn,
18862 ULONG * pOutLen,
18863 BYTE * pOut )
18864 {
18865 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18866 if (pAPI == 0)
18867 {
18868 return (ULONG)eGOBI_ERR_INTERNAL;
18869 }
18870
18871 ULONG svcID = 224;
18872 ULONG msgID = 41;
18873 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18874 }
18875
18876 /*===========================================================================
18877 METHOD:
18878 CATSCWSDataAvailable
18879
18880 DESCRIPTION:
18881 The function sends 'CAT/SCWS Data Available Request' (0x002A)
18882 and returns the response
18883
18884 PARAMETERS:
18885 handle [ I ] - Gobi interface handle
18886 to [ I ] - Timeout for transaction (in milliseconds)
18887 inLen [ I ] - Length of input buffer
18888 pIn [ I ] - Input buffer
18889 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18890 contain, upon output the number of BYTEs copied
18891 to pOut
18892 pOut [ O ] - Output buffer
18893
18894 RETURN VALUE:
18895 ULONG - Return code
18896 ===========================================================================*/
18897 ULONG CATSCWSDataAvailable(
18898 GOBIHANDLE handle,
18899 ULONG to,
18900 ULONG inLen,
18901 const BYTE * pIn,
18902 ULONG * pOutLen,
18903 BYTE * pOut )
18904 {
18905 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18906 if (pAPI == 0)
18907 {
18908 return (ULONG)eGOBI_ERR_INTERNAL;
18909 }
18910
18911 ULONG svcID = 224;
18912 ULONG msgID = 42;
18913 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18914 }
18915
18916 /*===========================================================================
18917 METHOD:
18918 CATSCWSChannelStatus
18919
18920 DESCRIPTION:
18921 The function sends 'CAT/SCWS Channel Status Request' (0x002B)
18922 and returns the response
18923
18924 PARAMETERS:
18925 handle [ I ] - Gobi interface handle
18926 to [ I ] - Timeout for transaction (in milliseconds)
18927 inLen [ I ] - Length of input buffer
18928 pIn [ I ] - Input buffer
18929 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18930 contain, upon output the number of BYTEs copied
18931 to pOut
18932 pOut [ O ] - Output buffer
18933
18934 RETURN VALUE:
18935 ULONG - Return code
18936 ===========================================================================*/
18937 ULONG CATSCWSChannelStatus(
18938 GOBIHANDLE handle,
18939 ULONG to,
18940 ULONG inLen,
18941 const BYTE * pIn,
18942 ULONG * pOutLen,
18943 BYTE * pOut )
18944 {
18945 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18946 if (pAPI == 0)
18947 {
18948 return (ULONG)eGOBI_ERR_INTERNAL;
18949 }
18950
18951 ULONG svcID = 224;
18952 ULONG msgID = 43;
18953 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18954 }
18955
18956 /*===========================================================================
18957 METHOD:
18958 CATGetTerminalProfile
18959
18960 DESCRIPTION:
18961 The function sends 'CAT/Get Terminal Profile Request' (0x002C)
18962 and returns the response
18963
18964 PARAMETERS:
18965 handle [ I ] - Gobi interface handle
18966 to [ I ] - Timeout for transaction (in milliseconds)
18967 inLen [ I ] - Length of input buffer
18968 pIn [ I ] - Input buffer
18969 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
18970 contain, upon output the number of BYTEs copied
18971 to pOut
18972 pOut [ O ] - Output buffer
18973
18974 RETURN VALUE:
18975 ULONG - Return code
18976 ===========================================================================*/
18977 ULONG CATGetTerminalProfile(
18978 GOBIHANDLE handle,
18979 ULONG to,
18980 ULONG inLen,
18981 const BYTE * pIn,
18982 ULONG * pOutLen,
18983 BYTE * pOut )
18984 {
18985 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
18986 if (pAPI == 0)
18987 {
18988 return (ULONG)eGOBI_ERR_INTERNAL;
18989 }
18990
18991 ULONG svcID = 224;
18992 ULONG msgID = 44;
18993 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
18994 }
18995
18996 /*===========================================================================
18997 METHOD:
18998 CATSetConfiguration
18999
19000 DESCRIPTION:
19001 The function sends 'CAT/Set Configuration Request' (0x002D)
19002 and returns the response
19003
19004 PARAMETERS:
19005 handle [ I ] - Gobi interface handle
19006 to [ I ] - Timeout for transaction (in milliseconds)
19007 inLen [ I ] - Length of input buffer
19008 pIn [ I ] - Input buffer
19009 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19010 contain, upon output the number of BYTEs copied
19011 to pOut
19012 pOut [ O ] - Output buffer
19013
19014 RETURN VALUE:
19015 ULONG - Return code
19016 ===========================================================================*/
19017 ULONG CATSetConfiguration(
19018 GOBIHANDLE handle,
19019 ULONG to,
19020 ULONG inLen,
19021 const BYTE * pIn,
19022 ULONG * pOutLen,
19023 BYTE * pOut )
19024 {
19025 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19026 if (pAPI == 0)
19027 {
19028 return (ULONG)eGOBI_ERR_INTERNAL;
19029 }
19030
19031 ULONG svcID = 224;
19032 ULONG msgID = 45;
19033 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19034 }
19035
19036 /*===========================================================================
19037 METHOD:
19038 CATGetConfiguration
19039
19040 DESCRIPTION:
19041 The function sends 'CAT/Get Configuration Request' (0x002E)
19042 and returns the response
19043
19044 PARAMETERS:
19045 handle [ I ] - Gobi interface handle
19046 to [ I ] - Timeout for transaction (in milliseconds)
19047 inLen [ I ] - Reserved for future use (set to 0)
19048 pIn [ I ] - Reserved for future use (set to 0)
19049 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19050 contain, upon output the number of BYTEs copied
19051 to pOut
19052 pOut [ O ] - Output buffer
19053
19054 RETURN VALUE:
19055 ULONG - Return code
19056 ===========================================================================*/
19057 ULONG CATGetConfiguration(
19058 GOBIHANDLE handle,
19059 ULONG to,
19060 ULONG inLen,
19061 const BYTE * pIn,
19062 ULONG * pOutLen,
19063 BYTE * pOut )
19064 {
19065 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19066 if (pAPI == 0)
19067 {
19068 return (ULONG)eGOBI_ERR_INTERNAL;
19069 }
19070
19071 ULONG svcID = 224;
19072 ULONG msgID = 46;
19073 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19074 }
19075
19076 /*===========================================================================
19077 METHOD:
19078 RMSReset
19079
19080 DESCRIPTION:
19081 The function sends 'RMS/Reset Request' (0x0000)
19082 and returns the response
19083
19084 PARAMETERS:
19085 handle [ I ] - Gobi interface handle
19086 to [ I ] - Timeout for transaction (in milliseconds)
19087 inLen [ I ] - Reserved for future use (set to 0)
19088 pIn [ I ] - Reserved for future use (set to 0)
19089 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19090 contain, upon output the number of BYTEs copied
19091 to pOut
19092 pOut [ O ] - Output buffer
19093
19094 RETURN VALUE:
19095 ULONG - Return code
19096 ===========================================================================*/
19097 ULONG RMSReset(
19098 GOBIHANDLE handle,
19099 ULONG to,
19100 ULONG inLen,
19101 const BYTE * pIn,
19102 ULONG * pOutLen,
19103 BYTE * pOut )
19104 {
19105 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19106 if (pAPI == 0)
19107 {
19108 return (ULONG)eGOBI_ERR_INTERNAL;
19109 }
19110
19111 ULONG svcID = 225;
19112 ULONG msgID = 0;
19113 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19114 }
19115
19116 /*===========================================================================
19117 METHOD:
19118 RMSGetSMSWake
19119
19120 DESCRIPTION:
19121 The function sends 'RMS/Get SMS Wake Request' (0x0020)
19122 and returns the response
19123
19124 PARAMETERS:
19125 handle [ I ] - Gobi interface handle
19126 to [ I ] - Timeout for transaction (in milliseconds)
19127 inLen [ I ] - Reserved for future use (set to 0)
19128 pIn [ I ] - Reserved for future use (set to 0)
19129 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19130 contain, upon output the number of BYTEs copied
19131 to pOut
19132 pOut [ O ] - Output buffer
19133
19134 RETURN VALUE:
19135 ULONG - Return code
19136 ===========================================================================*/
19137 ULONG RMSGetSMSWake(
19138 GOBIHANDLE handle,
19139 ULONG to,
19140 ULONG inLen,
19141 const BYTE * pIn,
19142 ULONG * pOutLen,
19143 BYTE * pOut )
19144 {
19145 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19146 if (pAPI == 0)
19147 {
19148 return (ULONG)eGOBI_ERR_INTERNAL;
19149 }
19150
19151 ULONG svcID = 225;
19152 ULONG msgID = 32;
19153 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19154 }
19155
19156 /*===========================================================================
19157 METHOD:
19158 RMSSetSMSWake
19159
19160 DESCRIPTION:
19161 The function sends 'RMS/Set SMS Wake Request' (0x0021)
19162 and returns the response
19163
19164 PARAMETERS:
19165 handle [ I ] - Gobi interface handle
19166 to [ I ] - Timeout for transaction (in milliseconds)
19167 inLen [ I ] - Length of input buffer
19168 pIn [ I ] - Input buffer
19169 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19170 contain, upon output the number of BYTEs copied
19171 to pOut
19172 pOut [ O ] - Output buffer
19173
19174 RETURN VALUE:
19175 ULONG - Return code
19176 ===========================================================================*/
19177 ULONG RMSSetSMSWake(
19178 GOBIHANDLE handle,
19179 ULONG to,
19180 ULONG inLen,
19181 const BYTE * pIn,
19182 ULONG * pOutLen,
19183 BYTE * pOut )
19184 {
19185 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19186 if (pAPI == 0)
19187 {
19188 return (ULONG)eGOBI_ERR_INTERNAL;
19189 }
19190
19191 ULONG svcID = 225;
19192 ULONG msgID = 33;
19193 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19194 }
19195
19196 /*===========================================================================
19197 METHOD:
19198 OMAReset
19199
19200 DESCRIPTION:
19201 The function sends 'OMA/Reset Request' (0x0000)
19202 and returns the response
19203
19204 PARAMETERS:
19205 handle [ I ] - Gobi interface handle
19206 to [ I ] - Timeout for transaction (in milliseconds)
19207 inLen [ I ] - Reserved for future use (set to 0)
19208 pIn [ I ] - Reserved for future use (set to 0)
19209 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19210 contain, upon output the number of BYTEs copied
19211 to pOut
19212 pOut [ O ] - Output buffer
19213
19214 RETURN VALUE:
19215 ULONG - Return code
19216 ===========================================================================*/
19217 ULONG OMAReset(
19218 GOBIHANDLE handle,
19219 ULONG to,
19220 ULONG inLen,
19221 const BYTE * pIn,
19222 ULONG * pOutLen,
19223 BYTE * pOut )
19224 {
19225 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19226 if (pAPI == 0)
19227 {
19228 return (ULONG)eGOBI_ERR_INTERNAL;
19229 }
19230
19231 ULONG svcID = 226;
19232 ULONG msgID = 0;
19233 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19234 }
19235
19236 /*===========================================================================
19237 METHOD:
19238 OMASetEventReport
19239
19240 DESCRIPTION:
19241 The function sends 'OMA/Set Event Report Request' (0x0001)
19242 and returns the response
19243
19244 PARAMETERS:
19245 handle [ I ] - Gobi interface handle
19246 to [ I ] - Timeout for transaction (in milliseconds)
19247 inLen [ I ] - Length of input buffer
19248 pIn [ I ] - Input buffer
19249 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19250 contain, upon output the number of BYTEs copied
19251 to pOut
19252 pOut [ O ] - Output buffer
19253
19254 RETURN VALUE:
19255 ULONG - Return code
19256 ===========================================================================*/
19257 ULONG OMASetEventReport(
19258 GOBIHANDLE handle,
19259 ULONG to,
19260 ULONG inLen,
19261 const BYTE * pIn,
19262 ULONG * pOutLen,
19263 BYTE * pOut )
19264 {
19265 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19266 if (pAPI == 0)
19267 {
19268 return (ULONG)eGOBI_ERR_INTERNAL;
19269 }
19270
19271 ULONG svcID = 226;
19272 ULONG msgID = 1;
19273 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19274 }
19275
19276 /*===========================================================================
19277 METHOD:
19278 OMAStartSession
19279
19280 DESCRIPTION:
19281 The function sends 'OMA/Start Session Request' (0x0020)
19282 and returns the response
19283
19284 PARAMETERS:
19285 handle [ I ] - Gobi interface handle
19286 to [ I ] - Timeout for transaction (in milliseconds)
19287 inLen [ I ] - Length of input buffer
19288 pIn [ I ] - Input buffer
19289 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19290 contain, upon output the number of BYTEs copied
19291 to pOut
19292 pOut [ O ] - Output buffer
19293
19294 RETURN VALUE:
19295 ULONG - Return code
19296 ===========================================================================*/
19297 ULONG OMAStartSession(
19298 GOBIHANDLE handle,
19299 ULONG to,
19300 ULONG inLen,
19301 const BYTE * pIn,
19302 ULONG * pOutLen,
19303 BYTE * pOut )
19304 {
19305 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19306 if (pAPI == 0)
19307 {
19308 return (ULONG)eGOBI_ERR_INTERNAL;
19309 }
19310
19311 ULONG svcID = 226;
19312 ULONG msgID = 32;
19313 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19314 }
19315
19316 /*===========================================================================
19317 METHOD:
19318 OMACancelSession
19319
19320 DESCRIPTION:
19321 The function sends 'OMA/Cancel Session Request' (0x0021)
19322 and returns the response
19323
19324 PARAMETERS:
19325 handle [ I ] - Gobi interface handle
19326 to [ I ] - Timeout for transaction (in milliseconds)
19327 inLen [ I ] - Reserved for future use (set to 0)
19328 pIn [ I ] - Reserved for future use (set to 0)
19329 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19330 contain, upon output the number of BYTEs copied
19331 to pOut
19332 pOut [ O ] - Output buffer
19333
19334 RETURN VALUE:
19335 ULONG - Return code
19336 ===========================================================================*/
19337 ULONG OMACancelSession(
19338 GOBIHANDLE handle,
19339 ULONG to,
19340 ULONG inLen,
19341 const BYTE * pIn,
19342 ULONG * pOutLen,
19343 BYTE * pOut )
19344 {
19345 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19346 if (pAPI == 0)
19347 {
19348 return (ULONG)eGOBI_ERR_INTERNAL;
19349 }
19350
19351 ULONG svcID = 226;
19352 ULONG msgID = 33;
19353 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19354 }
19355
19356 /*===========================================================================
19357 METHOD:
19358 OMAGetSessionInfo
19359
19360 DESCRIPTION:
19361 The function sends 'OMA/Get Session Info Request' (0x0022)
19362 and returns the response
19363
19364 PARAMETERS:
19365 handle [ I ] - Gobi interface handle
19366 to [ I ] - Timeout for transaction (in milliseconds)
19367 inLen [ I ] - Reserved for future use (set to 0)
19368 pIn [ I ] - Reserved for future use (set to 0)
19369 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19370 contain, upon output the number of BYTEs copied
19371 to pOut
19372 pOut [ O ] - Output buffer
19373
19374 RETURN VALUE:
19375 ULONG - Return code
19376 ===========================================================================*/
19377 ULONG OMAGetSessionInfo(
19378 GOBIHANDLE handle,
19379 ULONG to,
19380 ULONG inLen,
19381 const BYTE * pIn,
19382 ULONG * pOutLen,
19383 BYTE * pOut )
19384 {
19385 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19386 if (pAPI == 0)
19387 {
19388 return (ULONG)eGOBI_ERR_INTERNAL;
19389 }
19390
19391 ULONG svcID = 226;
19392 ULONG msgID = 34;
19393 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19394 }
19395
19396 /*===========================================================================
19397 METHOD:
19398 OMASendSelection
19399
19400 DESCRIPTION:
19401 The function sends 'OMA/Send Selection Request' (0x0023)
19402 and returns the response
19403
19404 PARAMETERS:
19405 handle [ I ] - Gobi interface handle
19406 to [ I ] - Timeout for transaction (in milliseconds)
19407 inLen [ I ] - Length of input buffer
19408 pIn [ I ] - Input buffer
19409 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19410 contain, upon output the number of BYTEs copied
19411 to pOut
19412 pOut [ O ] - Output buffer
19413
19414 RETURN VALUE:
19415 ULONG - Return code
19416 ===========================================================================*/
19417 ULONG OMASendSelection(
19418 GOBIHANDLE handle,
19419 ULONG to,
19420 ULONG inLen,
19421 const BYTE * pIn,
19422 ULONG * pOutLen,
19423 BYTE * pOut )
19424 {
19425 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19426 if (pAPI == 0)
19427 {
19428 return (ULONG)eGOBI_ERR_INTERNAL;
19429 }
19430
19431 ULONG svcID = 226;
19432 ULONG msgID = 35;
19433 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19434 }
19435
19436 /*===========================================================================
19437 METHOD:
19438 OMAGetFeatures
19439
19440 DESCRIPTION:
19441 The function sends 'OMA/Get Features Request' (0x0024)
19442 and returns the response
19443
19444 PARAMETERS:
19445 handle [ I ] - Gobi interface handle
19446 to [ I ] - Timeout for transaction (in milliseconds)
19447 inLen [ I ] - Reserved for future use (set to 0)
19448 pIn [ I ] - Reserved for future use (set to 0)
19449 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19450 contain, upon output the number of BYTEs copied
19451 to pOut
19452 pOut [ O ] - Output buffer
19453
19454 RETURN VALUE:
19455 ULONG - Return code
19456 ===========================================================================*/
19457 ULONG OMAGetFeatures(
19458 GOBIHANDLE handle,
19459 ULONG to,
19460 ULONG inLen,
19461 const BYTE * pIn,
19462 ULONG * pOutLen,
19463 BYTE * pOut )
19464 {
19465 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19466 if (pAPI == 0)
19467 {
19468 return (ULONG)eGOBI_ERR_INTERNAL;
19469 }
19470
19471 ULONG svcID = 226;
19472 ULONG msgID = 36;
19473 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19474 }
19475
19476 /*===========================================================================
19477 METHOD:
19478 OMASetFeatures
19479
19480 DESCRIPTION:
19481 The function sends 'OMA/Set Features Request' (0x0025)
19482 and returns the response
19483
19484 PARAMETERS:
19485 handle [ I ] - Gobi interface handle
19486 to [ I ] - Timeout for transaction (in milliseconds)
19487 inLen [ I ] - Length of input buffer
19488 pIn [ I ] - Input buffer
19489 pOutLen [I/O] - Upon input the maximum number of BYTEs pOut can
19490 contain, upon output the number of BYTEs copied
19491 to pOut
19492 pOut [ O ] - Output buffer
19493
19494 RETURN VALUE:
19495 ULONG - Return code
19496 ===========================================================================*/
19497 ULONG OMASetFeatures(
19498 GOBIHANDLE handle,
19499 ULONG to,
19500 ULONG inLen,
19501 const BYTE * pIn,
19502 ULONG * pOutLen,
19503 BYTE * pOut )
19504 {
19505 cGobiConnectionMgmt * pAPI = gDLL.GetAPI( handle );
19506 if (pAPI == 0)
19507 {
19508 return (ULONG)eGOBI_ERR_INTERNAL;
19509 }
19510
19511 ULONG svcID = 226;
19512 ULONG msgID = 37;
19513 return pAPI->Send( svcID, msgID, to, inLen, pIn, pOutLen, pOut );
19514 }
19515