File: class_pcp.html

package info (click to toggle)
icomlib 1.0.1-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,652 kB
  • ctags: 1,363
  • sloc: cpp: 4,849; makefile: 536; sh: 181; ansic: 145
file content (1369 lines) | stat: -rw-r--r-- 67,490 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<title>PCP Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.0.0 on Mon Jan 17 00:45:28 2000 -->
<center>
<a class="qindex"href="index.html">Main Page</a> &nbsp; <a class="qindex"href="annotated.html">Compound List</a> &nbsp; <a class="qindex"href="files.html">File List</a> &nbsp; <a class="qindex"href="headers.html">Header Files</a> &nbsp; <a class="qindex"href="sources.html">Sources</a> &nbsp; <a class="qindex"href="functions.html">Compound Members</a> &nbsp; <a class="qindex"href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>PCP  Class Reference</h1>PCP is the Main API for documentation of the class. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="class_pcp-include.html">pcp.h</a>&gt;</code>
<p>
<a href="class_pcp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=4><br><h2>Public Members</h2></td></tr>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a0">PCP</a> (char *port=PCPDefaultPort, tcflag_t speed=PCPDefaultSpeed, const char *name=0)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>PCP Object constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a1">~PCP</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Your friendly destructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a2">PCPInit</a> (bool autoUpdate=false)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Initialise the radio.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a3">PCPPowerUp</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Powers the radio on.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a4">PCPPowerDown</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Powers the radio down.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a5">PCPSetSpeed</a> (tcflag_t)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Sets the speed for current session.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a6">PCPSetPort</a> (const char *)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Set the port for the current session.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a7">PCPSetVolume</a> (int)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Set the current session's volume.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a8">PCPSetSquelch</a> (int)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Set the current session's squelch.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a9">PCPSetFreq</a> (<a class="el" href="pcrdef.h.html#a117">pcrfreq_t</a>)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Set the current frequency.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a10">PCPSetMode</a> (const char *)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Set the current session's mode.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a11">PCPSetFilter</a> (const char *)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Sets current session's filter.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>int&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a12">PCPSigStrength</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Querys the signal strength (int version).</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a13">PCPSigStrengthStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Signal strength query. (const char * version).</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a14">PCPSetToneSq</a> (const char*)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Sets current session CTCSS.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a15">PCPSetToneSq</a> (float)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Sets session CTCSS based on a float value.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a16">PCPSetAutoGain</a> (bool)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Toggle autogain functionality.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a17">PCPSetNB</a> (bool)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Toggle Noiseblanking functionality.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a18">PCPSetRFAttenuator</a> (bool)</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Toggle RF Attenuation functionality.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a19">PCPIsOn</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Inquire radio status.</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a20">PCPQueryOn</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Querys radio acutator status.</em> <a href="#a20">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a21">PCPQuerySquelch</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Querys radio's squelch status.</em> <a href="#a21">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a22">PCPGetPort</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current port / serial device setting.</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>tcflag_t&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a23">PCPGetSpeed_t</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current speed (tcflag_t version).</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a24">PCPGetSpeed</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current speed (const char* version).</em> <a href="#a24">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>int&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a25">PCPGetVolume</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's volume setting (int version).</em> <a href="#a25">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a26">PCPGetVolumeStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's volume setting (const char* version).</em> <a href="#a26">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>int&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a27">PCPGetSquelch</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's squelch setting (int version).</em> <a href="#a27">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a28">PCPGetSquelchStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's squelch setting (const char* version).</em> <a href="#a28">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top><a class="el" href="pcrdef.h.html#a117">pcrfreq_t</a>&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a29">PCPGetFreq</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's frequency setting (pcrfreq_t version).</em> <a href="#a29">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a30">PCPGetFreqStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's frequency setting (const char* version).</em> <a href="#a30">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a>*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a31">PCPGetMode</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's mode setting (pcrcmd_t version).</em> <a href="#a31">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a32">PCPGetModeStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's mode setting (const char* version).</em> <a href="#a32">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a>*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a33">PCPGetFilter</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets current session's filter setting (pcrcmd_t version).</em> <a href="#a33">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a34">PCPGetFilterStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Get the current session's filter setting (const char* version).</em> <a href="#a34">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a35">PCPGetToneSq</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets the current session's tone squelch (undecoded version).</em> <a href="#a35">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a36">PCPGetToneSqStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Gets the current session's tone squelch (decoded version).</em> <a href="#a36">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a37">PCPGetAutoGain</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Get current session's autogain value (bool version).</em> <a href="#a37">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a38">PCPGetAutoGainStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Get current session's autogain value (const char* version).</em> <a href="#a38">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a39">PCPGetNB</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Get current session's noiseblank value (bool version).</em> <a href="#a39">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a40">PCPGetNBStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Get current session's noiseblank value (const char* version).</em> <a href="#a40">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a41">PCPGetRFAttenuator</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Get current session's RF Attenuation value (bool version).</em> <a href="#a41">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a42">PCPGetRFAttenuatorStr</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Get current session's RF Attenuation value (const char* version).</em> <a href="#a42">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>const <a class="el" href="class_pradinf.html">PRadInf</a>&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#a43">PCPGetRadioInfo</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Retrieves the current radio struct.</em> <a href="#a43">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td colspan=4><br><h2>Private Members</h2></td></tr>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#c0">PCPCheckResponse</a> ()</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Internally called method to check radio response.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top><a class="el" href="class_pcomm.html">PComm</a>*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#c1">PCPComm</a></td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>The currently active Primitive Communication Object ( <a class="el" href="class_pcomm.html">PComm</a> ).</em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#c2">PCPStatus</a></td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>The state of the <a class="el" href="class_pcomm.html">PComm</a> object (on or off).</em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>bool&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#c3">PCPErrRead</a></td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Was there an error reading from the <a class="el" href="class_pcomm.html">PComm</a> object?</em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>char&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#c4">PCPTemp</a> [256]</td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Temporary buffer to hold PCP string data.</em></font><br><br></td></tr>

<p>
<tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>struct <a class="el" href="class_pradinf.html">PRadInf</a>*&nbsp;</td><td valign=top><a class="el" href="class_pcp.html#c5">PCPRadio</a></td></tr>
<tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Currently active radio data.</em></font><br><br></td></tr>

<p>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
PCP is the Main API for documentation of the class.
<p>
PCP Is the actual object that interfaces with the GUI This API deals with the error handling and the calls that must be made to and from the radio, via the <a class="el" href="class_pcomm.html">PComm</a> serial i/o object.
<p>
<dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcomm.html">PComm</a> <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.h-source.html#l00082">82</a> of file <a class="el" href="pcp.h-source.html">pcp.h</a>.<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="PCP::PCP">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
PCP::PCP (char * <em>port</em> = PCPDefaultPort, tcflag_t <em>speed</em> = PCPDefaultSpeed, const char * <em>name</em> = 0)
</b></td></tr></table>
</a>
<div class="in">

<p>
PCP Object constructor.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>port</em>
&nbsp;</td><td>
 the device to open </td></tr>
<tr><td valign=top><em>speed</em>
&nbsp;</td><td>
 the initial baudrate to open at </td></tr>
<tr><td valign=top><em>name</em>
&nbsp;</td><td>
 internal object name
<p>
</td></tr>
</table>
</dl>Initialises the radio device and sets the default variables to: <br>
 <ul>
<li><code>PCPSpeed</code> to <em>speed</em> <li><code>PCPVolume</code> to 0 <li><code>PCPSquelch</code> to 0 <li><code>PCPFreq</code> to 146.000 MHz <li><code>PCPMode</code> to <a class="el" href="pcrdef.h.html#a48">PCRMODNFM</a>() </ul>

<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00041">41</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a1" doxytag="PCP::~PCP">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
PCP::~PCP ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Your friendly destructor.
<p>
Deletes the Primitive Communication ( <a class="el" href="class_pcomm.html">PComm</a> ) object before exitting. 
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00079">79</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a2" doxytag="PCP::PCPInit">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPInit (bool <em>autoUpdate</em> = false)
</b></td></tr></table>
</a>
<div class="in">

<p>
Initialise the radio.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>autoUpdate</em>
&nbsp;</td><td>
 Initialise the radio in <em>autoUpdate</em> mode
<p>
</td></tr>
</table>
</dl>This function sends the initialsation command(s). Due to the hardware taking some time to initialize, we sleep for one second to let it catch up, then check to see if the radio was on. If it *was* on then it checks for a response.
<p>
After PCPCheckResponse tells it that the command succeeded, it sets PCPRadio-&gt;PCPAutoUpdate mode appropriately.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
On success : true otherwise false.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
PCPAutoUpdate <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() <a class="el" href="class_pcp.html#c2">PCPStatus</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00090">90</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a3" doxytag="PCP::PCPPowerUp">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPPowerUp ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Powers the radio on.
<p>
Turns the radio's receiver on. By sending the command code <a class="el" href="pcrdef.h.html#a11">PCRPWRON</a>()
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false ( based on <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() )
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a4">PCPPowerDown</a>() <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() <a class="el" href="class_pcp.html#c2">PCPStatus</a> <a class="el" href="pcrdef.h.html#a11">PCRPWRON</a>() <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00131">131</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a4" doxytag="PCP::PCPPowerDown">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPPowerDown ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Powers the radio down.
<p>
Turns the radio's receiver off. By sending the command code PCRPWROFF
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false ( based on <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() )
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a3">PCPPowerUp</a>() <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() <a class="el" href="class_pcp.html#c2">PCPStatus</a> <a class="el" href="pcrdef.h.html#a10">PCRPWROFF</a>() <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00152">152</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a5" doxytag="PCP::PCPSetSpeed">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetSpeed (tcflag_t <em>speed</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Sets the speed for current session.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>speed</em>
&nbsp;</td><td>
 baudrate as defined in termios.h
<p>
</td></tr>
</table>
</dl>First we check to see if the baudrate passed in <em>speed</em> is right, if not then we just quietly return false. Then we decode <em>speed</em> and set PCPInitSpeed to <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a> version.
<p>
Then we tell the radio to switch speeds and set baudrate on the port by destroying <a class="el" href="class_pcomm.html">PComm</a> and reinitiating it with the new baud setting
<p>
<b>Warning:</b> follow these procedures to use this function. <ul>
<li>create the object (at last known baudrate). <li>call init <li>call power up <li>call this function <li>delete the object <li>create the object with the new speed setting </ul>

<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on success. </dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a24">PCPGetSpeed</a>() <a class="el" href="class_pcp.html#a23">PCPGetSpeed_t</a>() <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a> <a class="el" href="pcrdef.h.html">pcrdef.h</a> <a class="el" href="class_pcp.html#c1">PCPComm</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00173">173</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a6" doxytag="PCP::PCPSetPort">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetPort (const char * <em>port</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Set the port for the current session.
<p>
Sets port by closing the filedes and reopening it on the new port.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false if the serial device can be opened on the new port.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a22">PCPGetPort</a>() <a class="el" href="class_pcomm.html#a2">PComm::PCOpen</a>() <a class="el" href="class_pcomm.html#a3">PComm::PCClose</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00246">246</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a7" doxytag="PCP::PCPSetVolume">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetVolume (int <em>volume</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Set the current session's volume.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>volume</em>
&nbsp;</td><td>
 an integer between 0 and 99
<p>
</td></tr>
</table>
</dl>sprintf converts (and combines) the cmd <a class="el" href="pcrdef.h.html#a12">PCRVOL</a>() with the argument, such that the argument has a minimum field width of two chars. If the field is &lt; 2 chars (ie: arg=5) then it pads the field with one zero.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() to indicate success or failure
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
PCPVolume <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a> <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00263">263</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a8" doxytag="PCP::PCPSetSquelch">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetSquelch (int <em>squelch</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Set the current session's squelch.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>squelch</em>
&nbsp;</td><td>
 an integer between 0 and 99
<p>
</td></tr>
</table>
</dl>sprintf converts (and combines) the cmd <a class="el" href="pcrdef.h.html#a15">PCRSQL</a>() with the argument <em>squelch</em> , such that the argument has a minimum field width of two chars. If the field is &lt; 2 chars (ie: arg=5) then it pads the field with one zero.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() to indicate success or failure
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
PCPSquelch <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a> <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00292">292</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a9" doxytag="PCP::PCPSetFreq">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetFreq (<a class="el" href="pcrdef.h.html#a117">pcrfreq_t</a> <em>freq</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Set the current frequency.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>freq</em>
&nbsp;</td><td>
 passed frequency compliant to pcrfreq_t
<p>
</td></tr>
</table>
</dl>check to see if the frequencies are within bounds. populate a string, with correctly padded 0's based on the frequency fed in.
<p>
<ul>
 This method, <a class="el" href="class_pcp.html#a10">PCPSetMode</a>() and <a class="el" href="class_pcp.html#a11">PCPSetFilter</a>() take the following steps <li> copy the header, <li> concat the newly converted/padded frequency, <li> concat mode, <li> concat filter, <li> concat suffix. </ul>

<p>
send the command to the radio, if it checks out set this as the new frequency
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on success or failure </dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="pcrdef.h.html">pcrdef.h</a> <a class="el" href="pcrdef.h.html#a117">pcrfreq_t</a> <a class="el" href="pcrdef.h.html#a39">PCRFRQ</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00322">322</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a10" doxytag="PCP::PCPSetMode">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetMode (const char * <em>mode</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Set the current session's mode.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>mode</em>
&nbsp;</td><td>
 plain text string of mode (eg: "USB")
<p>
</td></tr>
</table>
</dl>Valid arguments for <em>mode:</em> <ul>
<li><code>USB</code> upper side band <li><code>LSB</code> lower side band <li><code>AM</code> amplitude modulated <li><code>NFM</code> narrow band FM <li><code>WFM</code> wide band FM <li><code>CW</code> continuous wave</ul>
The concept is the same as above ( <a class="el" href="class_pcp.html#a9">PCPSetFreq</a>() ) except it accepts standard text for "USB"/"LSB" etc... Use of the pcrdef codes are not necessary, they will be decoded based on <em>mode.</em>
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on success or failure
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#c5">PCPRadio</a> <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00374">374</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a11" doxytag="PCP::PCPSetFilter">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetFilter (const char * <em>filter</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Sets current session's filter.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>filter</em>
&nbsp;</td><td>
 character string version of the filter
<p>
</td></tr>
</table>
</dl>Valid arguments for <em>filter:</em> <ul>
<li><code>3</code> 3.0 kHz <li><code>6</code> 6.0 kHz <li><code>15</code> 15.0 kHz <li><code>50</code> 50.0 kHz <li><code>230</code> 230.0 kHz</ul>
The concept is the same as above ( <a class="el" href="class_pcp.html#a10">PCPSetMode</a>() ) it accepts standard text for "3"/"6" etc... Use of the pcrdef codes are not necessary, they will be decoded based on <em>filter.</em>
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on success or failure
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#c5">PCPRadio</a> <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00441">441</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a12" doxytag="PCP::PCPSigStrength">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
int PCP::PCPSigStrength ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Querys the signal strength (int version).
<p>
<dl compact><dt>
<b>Returns: </b><dd>
integer value of 0-255 on signal strength.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a13">PCPSigStrengthStr</a>() <a class="el" href="pcrdef.h.html#a56">PCRQRST</a>() <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00766">766</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a13" doxytag="PCP::PCPSigStrengthStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPSigStrengthStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Signal strength query. (const char * version).
<p>
Querys radio to read the current signal strength.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
null on failure, otherwise a character string with the current signal strenth. This includes the I1 header, plus the last two characters which is the <b>hex</b> value from <em>00-99</em>
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a12">PCPSigStrength</a>() <a class="el" href="pcrdef.h.html#a56">PCRQRST</a>() <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00739">739</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a14" doxytag="PCP::PCPSetToneSq">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetToneSq (const char * <em>value</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Sets current session CTCSS.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>value</em>
&nbsp;</td><td>
 character string of 01-35 hex
<p>
</td></tr>
</table>
</dl>set's the tone squelch for the radio. The default is value 00 for off. The values are <b>NOT</b> the hz, but the pcrdef.h vals, 01=67.0 02=69.3 etc...
<p>
The valid for <em>value</em> are <b>hex</b> values from <em>00</em> for off through <em>35</em>
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() success or failure.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="pcrdef.h.html">pcrdef.h</a> <a class="el" href="pcrdef.h.html#a32">PCRTSQL</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00503">503</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a15" doxytag="PCP::PCPSetToneSq">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetToneSq (float <em>passvalue</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Sets session CTCSS based on a float value.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>passvalue</em>
&nbsp;</td><td>
 tone squelch in Hz
<p>
</td></tr>
</table>
</dl>Since the previous method requires the programmer to remember the PCR-1000's internal number that corresponds to the tone squelch frequency, this overloaded method allows the programmer to pass a float, where the float is the frequency (Hz) in question.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false based on <a class="el" href="class_pcp.html#c0">PCPCheckResponse</a>() success or failure. On failure, it turns off CTCSS and returns false.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="pcrdef.h.html">pcrdef.h</a> <a class="el" href="pcrdef.h.html#a32">PCRTSQL</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00537">537</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a16" doxytag="PCP::PCPSetAutoGain">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetAutoGain (bool <em>value</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Toggle autogain functionality.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>value</em>
&nbsp;</td><td>
 true or false for autogain on or off
<p>
</td></tr>
</table>
</dl>Valid values for <em>value</em> are: <ul>
<li><code>true</code> to activate autogain <li><code>false</code> to deactivate autogain</ul>
Sets the automagic gain control to <em>value</em> (on/off) true/false... checks the radio response if ok, then sets the value
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true, on success otherwise returns false
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="pcrdef.h.html#a20">PCRAGC</a>() <a class="el" href="pcrdef.h.html#a22">PCRAGCON</a>() <a class="el" href="pcrdef.h.html#a21">PCRAGCOFF</a>() <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00623">623</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a17" doxytag="PCP::PCPSetNB">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetNB (bool <em>value</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Toggle Noiseblanking functionality.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>value</em>
&nbsp;</td><td>
 true or false for noiseblanking on or off
<p>
</td></tr>
</table>
</dl>Valid values for <em>value</em> are: <ul>
<li><code>true</code> to activate noiseblanking <li><code>false</code> to deactivate noiseblanking</ul>
Sets the noise blanking to <em>value</em> (on/off) true/false... checks the radio response if ok, then sets the value
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true, on success otherwise returns false
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a39">PCPGetNB</a>() <a class="el" href="class_pcp.html#a40">PCPGetNBStr</a>() <a class="el" href="pcrdef.h.html#a23">PCRNB</a>() <a class="el" href="pcrdef.h.html#a25">PCRNBON</a>() <a class="el" href="pcrdef.h.html#a24">PCRNBOFF</a>() <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00655">655</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a18" doxytag="PCP::PCPSetRFAttenuator">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPSetRFAttenuator (bool <em>value</em>)
</b></td></tr></table>
</a>
<div class="in">

<p>
Toggle RF Attenuation functionality.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>value</em>
&nbsp;</td><td>
 true or false for RF Attenuation on or off
<p>
</td></tr>
</table>
</dl>Valid values for <em>value</em> are: <ul>
<li><code>true</code> to activate RF Attenuation <li><code>false</code> to deactivate RF Attenuation</ul>
Sets the RF Attenuation to <em>value</em> (on/off) true/false... checks the radio response if ok, then sets the value
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true, on success otherwise returns false
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a41">PCPGetRFAttenuator</a>() <a class="el" href="class_pcp.html#a42">PCPGetRFAttenuatorStr</a>() <a class="el" href="pcrdef.h.html#a26">PCRRFA</a>() <a class="el" href="pcrdef.h.html#a28">PCRRFAON</a>() <a class="el" href="pcrdef.h.html#a27">PCRRFAOFF</a>() <a class="el" href="pcrdef.h.html">pcrdef.h</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00687">687</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a19" doxytag="PCP::PCPIsOn">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPIsOn ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Inquire radio status.
<p>
Check to see if the radio is on based on the internally stored data. This function should only be called after the object has been initiated and is ready for use.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true or false for radio on or off.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a20">PCPQueryOn</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00723">723</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a20" doxytag="PCP::PCPQueryOn">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
PCP::PCPQueryOn ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Querys radio acutator status.
<p>
Actually querys the radio for a status on it's receiver state (on or off). This differs from <a class="el" href="class_pcp.html#a19">PCPIsOn</a>() in that it makes a call to the radio, rather than checking a local variable
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true if the radio's receiver is on, false otherwise.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a19">PCPIsOn</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00802">802</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a21" doxytag="PCP::PCPQuerySquelch">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPQuerySquelch ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Querys radio's squelch status.
<p>
Actually querys the radio for a status on it's squelch state (open or closed).
<p>
<dl compact><dt>
<b>Returns: </b><dd>
true if the radio's squelch is open or false otherwise.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a19">PCPIsOn</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00832">832</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a22" doxytag="PCP::PCPGetPort">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
PCP::PCPGetPort ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current port / serial device setting.
<p>
Checks the <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPPort for the current port (serial) device setting (pathname).
<p>
<dl compact><dt>
<b>Returns: </b><dd>
character string consisting of the current session's device name (pathname)
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a6">PCPSetPort</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00862">862</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a23" doxytag="PCP::PCPGetSpeed_t">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
tcflag_t PCP::PCPGetSpeed_t ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current speed (tcflag_t version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPSpeed for the current speed (baudrate) setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
tcflag_t baudrate.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a24">PCPGetSpeed</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00882">882</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a24" doxytag="PCP::PCPGetSpeed">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetSpeed ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current speed (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPSpeed for the current speed (baudrate) setting. Decodes the tcflag_t baudrate in the struct
<p>
<dl compact><dt>
<b>Returns: </b><dd>
const character string baudrate
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a23">PCPGetSpeed_t</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00897">897</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a25" doxytag="PCP::PCPGetVolume">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
int PCP::PCPGetVolume ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's volume setting (int version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPVolume for the current volume <b>(hex)</b> setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the integer value from <em>00-ff</em>
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a26">PCPGetVolumeStr</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00927">927</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a26" doxytag="PCP::PCPGetVolumeStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetVolumeStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's volume setting (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPVolume for the current volume <b>(hex)</b> setting. Decodes the hex to a character string
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of current volume setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a25">PCPGetVolume</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00942">942</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a27" doxytag="PCP::PCPGetSquelch">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
int PCP::PCPGetSquelch ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's squelch setting (int version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPSquelch for the current squelch <b>(hex)</b> setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the integer value from <em>00-ff</em>
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a28">PCPGetSquelchStr</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00959">959</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a28" doxytag="PCP::PCPGetSquelchStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetSquelchStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's squelch setting (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPSquelch for the current squelch <b>(hex)</b> setting. Decodes the integer into a character string
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of current squelch setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a28">PCPGetSquelchStr</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00974">974</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a29" doxytag="PCP::PCPGetFreq">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
<a class="el" href="pcrdef.h.html#a117">pcrfreq_t</a> PCP::PCPGetFreq ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's frequency setting (pcrfreq_t version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPFreq for the current frequency setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the pcrfreq_t of current frequency setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a30">PCPGetFreqStr</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l00991">991</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a30" doxytag="PCP::PCPGetFreqStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetFreqStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's frequency setting (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPFreq for the current frequency setting. It converts the pcrfreq_t into a character string.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of current frequency setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a29">PCPGetFreq</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01008">1008</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a31" doxytag="PCP::PCPGetMode">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a> * PCP::PCPGetMode ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's mode setting (pcrcmd_t version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPMode for the current mode setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the pcrcmd_t of current mode setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a32">PCPGetModeStr</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01026">1026</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a32" doxytag="PCP::PCPGetModeStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetModeStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's mode setting (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPMode for the current mode setting. Decodes the mode setting to plain english equivalent.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the plain english of current mode setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a31">PCPGetMode</a>() <a class="el" href="class_pcp.html#a10">PCPSetMode</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01041">1041</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a33" doxytag="PCP::PCPGetFilter">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a> * PCP::PCPGetFilter ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets current session's filter setting (pcrcmd_t version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPFilter for the current filter setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the pcrcmd_t of the current filter setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a34">PCPGetFilterStr</a>() <a class="el" href="class_pcp.html#a11">PCPSetFilter</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01081">1081</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a34" doxytag="PCP::PCPGetFilterStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetFilterStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Get the current session's filter setting (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPFilter for the current filter setting. It then decodes the <a class="el" href="pcrdef.h.html#a116">pcrcmd_t</a> version into standard string values.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of the current filter setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a33">PCPGetFilter</a>() <a class="el" href="class_pcp.html#a11">PCPSetFilter</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01096">1096</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a35" doxytag="PCP::PCPGetToneSq">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetToneSq ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets the current session's tone squelch (undecoded version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPToneSq for the current tone squelch setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of the current tone squelch setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a36">PCPGetToneSqStr</a>() <a class="el" href="class_pcp.html#a15">PCPSetToneSq</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01131">1131</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a36" doxytag="PCP::PCPGetToneSqStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetToneSqStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Gets the current session's tone squelch (decoded version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPToneSq for the current tone squelch setting. It is decoded into plain english and it's value returned.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of the current tone squelch setting
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a35">PCPGetToneSq</a>() <a class="el" href="class_pcp.html#a15">PCPSetToneSq</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01146">1146</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a37" doxytag="PCP::PCPGetAutoGain">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPGetAutoGain ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Get current session's autogain value (bool version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPAutoGain for the current auto-gain setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the boolean of the current setting. True/false :: On/off.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a38">PCPGetAutoGainStr</a>() <a class="el" href="class_pcp.html#a16">PCPSetAutoGain</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01164">1164</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a38" doxytag="PCP::PCPGetAutoGainStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetAutoGainStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Get current session's autogain value (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPAutoGain for the current auto-gain setting. Decodes true and false into string values "1" and "0".
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of the current setting.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a37">PCPGetAutoGain</a>() <a class="el" href="class_pcp.html#a16">PCPSetAutoGain</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01179">1179</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a39" doxytag="PCP::PCPGetNB">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPGetNB ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Get current session's noiseblank value (bool version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPNoiseBlank for the current auto-gain setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the boolean of the current setting. True/false :: On/off.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a40">PCPGetNBStr</a>() <a class="el" href="class_pcp.html#a17">PCPSetNB</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01197">1197</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a40" doxytag="PCP::PCPGetNBStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetNBStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Get current session's noiseblank value (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPNoiseBlank for the current auto-gain setting. Decodes the boolean value into the string "1" for true or "0" for false
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of the current setting. True/false :: "1"/"0"
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a39">PCPGetNB</a>() <a class="el" href="class_pcp.html#a17">PCPSetNB</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01212">1212</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a41" doxytag="PCP::PCPGetRFAttenuator">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPGetRFAttenuator ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Get current session's RF Attenuation value (bool version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPRFAttenuator for the current RF Attenuation setting.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the boolean of the current setting. True/false :: On/off.
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a42">PCPGetRFAttenuatorStr</a>() <a class="el" href="class_pcp.html#a18">PCPSetRFAttenuator</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01230">1230</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a42" doxytag="PCP::PCPGetRFAttenuatorStr">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const char * PCP::PCPGetRFAttenuatorStr ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Get current session's RF Attenuation value (const char* version).
<p>
Checks <a class="el" href="class_pcp.html#c5">PCPRadio</a> struct for member PCPRFAttenuator for the current session's RF Attenuation setting. Decodes the boolean value into "1" for true or "0" for false.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the character string of the current setting. True/false :: "1"/"0"
<p>
</dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pcp.html#a41">PCPGetRFAttenuator</a>() <a class="el" href="class_pcp.html#a18">PCPSetRFAttenuator</a>() </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01245">1245</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="a43" doxytag="PCP::PCPGetRadioInfo">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
const <a class="el" href="class_pradinf.html">PRadInf</a> PCP::PCPGetRadioInfo ()
</b></td></tr></table>
</a>
<div class="in">

<p>
Retrieves the current radio struct.
<p>
this gets the current radio information struct in case the user wants to save the state of the radio. <dl compact><dt>
<b>Returns: </b><dd>
const <a class="el" href="class_pradinf.html">PRadInf</a> </dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="class_pradinf.html">PRadInf</a> </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01263">1263</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<a name="c0" doxytag="PCP::PCPCheckResponse">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPCheckResponse ()<code> [private]</code>
</b></td></tr></table>
</a>
<div class="in">

<p>
Internally called method to check radio response.
<p>
read from the radio for the <a class="el" href="pcrdef.h.html#a62">PCRAOK</a>() and <a class="el" href="pcrdef.h.html#a63">PCRABAD</a>() reply.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
<em>true</em> - for PCRAOK <em>false</em> - for PCRABAD <em>false</em> - and sets ErrRead to true if garbage was read. </dl>
<p>
Definition at line <a class="el" href="pcp.cpp-source.html#l01268">1268</a> of file <a class="el" href="pcp.cpp-source.html">pcp.cpp</a>.</div>
<hr><h2>Member Data Documentation</h2>
<a name="c1" doxytag="PCP::PCPComm">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
<a class="el" href="class_pcomm.html">PComm</a>* PCP::PCPComm<code> [private]</code>
</b></td></tr></table>
</a>
<div class="in">

<p>
The currently active Primitive Communication Object ( <a class="el" href="class_pcomm.html">PComm</a> ).
<p>

<p>
Definition at line <a class="el" href="pcp.h-source.html#l00150">150</a> of file <a class="el" href="pcp.h-source.html">pcp.h</a>.</div>
<a name="c2" doxytag="PCP::PCPStatus">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPStatus<code> [private]</code>
</b></td></tr></table>
</a>
<div class="in">

<p>
The state of the <a class="el" href="class_pcomm.html">PComm</a> object (on or off).
<p>

<p>
Definition at line <a class="el" href="pcp.h-source.html#l00152">152</a> of file <a class="el" href="pcp.h-source.html">pcp.h</a>.</div>
<a name="c3" doxytag="PCP::PCPErrRead">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
bool PCP::PCPErrRead<code> [private]</code>
</b></td></tr></table>
</a>
<div class="in">

<p>
Was there an error reading from the <a class="el" href="class_pcomm.html">PComm</a> object?
<p>

<p>
Definition at line <a class="el" href="pcp.h-source.html#l00154">154</a> of file <a class="el" href="pcp.h-source.html">pcp.h</a>.</div>
<a name="c4" doxytag="PCP::PCPTemp">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
char PCP::PCPTemp[256]<code> [private]</code>
</b></td></tr></table>
</a>
<div class="in">

<p>
Temporary buffer to hold PCP string data.
<p>

<p>
Definition at line <a class="el" href="pcp.h-source.html#l00156">156</a> of file <a class="el" href="pcp.h-source.html">pcp.h</a>.</div>
<a name="c5" doxytag="PCP::PCPRadio">
<p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>
struct <a class="el" href="class_pradinf.html">PRadInf</a>* PCP::PCPRadio<code> [private]</code>
</b></td></tr></table>
</a>
<div class="in">

<p>
Currently active radio data.
<p>

<p>
Definition at line <a class="el" href="pcp.h-source.html#l00159">159</a> of file <a class="el" href="pcp.h-source.html">pcp.h</a>.</div>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="pcp.h.html">pcp.h</a><li><a class="el" href="pcp.cpp.html">pcp.cpp</a></ul>
<hr><address><small>Generated at Mon Jan 17 00:45:28 2000 for Icom PCR-1000 Library by
<a href="http://www.stack.nl/~dimitri/doxygen/index.html">
<img src="doxygen.gif" alt="doxygen" align=center border=0 
width=118 height=53></a> 1.0.0 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy; 1997-1999</small></address>
</body>
</html>