How to include header file node red

good day, I am trying to using c++ code with header file in node red. May I know how to go about it.

#include "../arduPi.h"
#include "../sim7x00.h"

// Pin definition
int POWERKEY = 6;

int8_t answer;

void setup() {

void loop() {


int main() {
	while (1) {
	return (0);

Hi @tramanah

in what way do you want to use that C++ code with Node-RED?

That looks like code you run on an embedded device. Node-RED does not run on embedded devices.

Maybe if you describe what you are trying to do we can point in you in the right direction.

Hi, I did purchase -> 4G / 3G / 2G / GSM / GPRS / GNSS HAT for Raspberry Pi.

Its come with library files & AT commands manual.
i do manage most of the function with AT Commands on Node Red.

The point i stuck is when reboot this device. i have to manual press POWERKEY to establish GSM communication. This can be enable in code as per attach in above post. The sample code in C++.
Anyway i can do it in NODE RED

Thank you

One way would be to compile that code into an executable that you can then call from Node-RED.