boardGetProfileX (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

All

Firmware version:

1.00 / 1.00.00


boardGetProfileX returns extended device information.

Also see boardGetProfile() for basic device information.

 

Input:

index : SINT (0..27)

This identifies which parameter is being requested

Possible values are:

0

- Number of indexes present in profile (currently 26).

1

- Cellular type:

0: None.

1: GSM Dual Band.

2: GSM Quad Band.

3: GSM Quad Band / Edge.

4: UMTS EMEA.

5: UMTS America.

6: UMTS Worldwide.

7: LTE Cat. M1/NB1.

8: LTE Cat. 4 Regional.

9: LTE Cat.4 Worldwide.

2

- GPS type (0=None, 1=GPS, 2=Super GPS, 3=GNSS, 4=PPP).

3

- Battery type (0=None, 1=Standard capacity, 2=High capacity).

4

- Non-volatile memory type (1=NVRAM, 2=VFRAM)?

5

- Headset present?

6

- DTMF/Voice present?

7

- SD-CARD present?

8

- Number of CAN buses.

9

- Not used.

10

- Buzzer present?

11

- Onewire bus present?

12

- Optional RS485 present?

13

- Navigation present?

14

- Full execution speed?

15

- X32 enhanced memory?

16

- RF present?

17

- Standard RS485 present?

18

- External voice playback supported?

19

- Number of FLASH entries.

20

- Number of FRAM entries.

21

- Number of extended FLASH entries.

22

- Execution Environment (0=RTCU Device, 2=RTCU Emulator)

23

- Number of USB host ports.

24

- Bluetooth present? (only NX32L)

25

- Motion Sensors present? (only NX32L)

Bitwise OR of the following sensors:

1 : Accelerometer

2 : Gyroscope

4 : Magnetometer

26

- NX-400 - optionally mounted Radiocrafts module:

0: Not present.

1: RC1140-MBUS3

2: RC1160-MBUS3

3: RC1170-MBUS3

4: RC1180-MBUS3

5: RC1682-SIG

6: RC1682-SSM

7: RC1692HP-SIG

8: RC1692HP-SSM

9: RC1180-KNX2

27

- GNSS type (only NX32L):

0: None.

1: Quectel L26

2: uBlox NEO-M8L

3: Cellular GNSS

4: Quectel LC29H.

5: uBlox NEO-M9V

 

Returns: DINT

The requested parameter.

In case of TRUE/FALSE conditions, 0 (zero) will indicate FALSE and 1 (one) will indicate TRUE.

 

Declaration:

FUNCTION boardGetProfileX : DINT;
VAR_INPUT
  index : SINT;
END_VAR;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  num_do : DINT;
END_VAR;
 
BEGIN
  ...
  // Ask how many digital outputs are present
  num_do := boardGetProfileX(index:=2);
  ...
END;
 
END_PROGRAM;