Linked List: Adding an extra parameter to the list of SCPI Parser Library

Hello,

I would like to know if anyone is acquainted with this Library: oic/src/ArduinoSCPIParser at master · LachlanGunn/oic · GitHub

I want to create SCPI Command with multiple parameters .

For Ex: APPL:PULSE 255, 500
the APPLy command is specifying a WAVEFORM PULSE with an amplitude of 255[0-1023 RANGE], and a Pulse duration for 500 ms.

The Library has a struct scpi_token (linked list for values) in header file. So ideally my linked list should contain 2 parameters 255 and 500 of different types, one int and other in milliseconds.
I have no idea how to add such different parameter in the linked list.
I really need help here.

one int and other in milliseconds.

int is a type. milliseconds is not. What is the upper limit on how many milliseconds? Will that upper limit fit in an int?

Maximum be 10000 ms , I dont know, but yes will fit in the range of int

So, your linked list would consist of two nodes, each of which contains an int. What is the problem?