/*DESC: This script add all avaliable PGNs fmsv4.json to the FMStoIP database. * Copyright (C) 2013-2022) NetModule AG, Switzerland */ url = 'http://192.168.1.1:8085/fmstoip/addpgn'; usr = ""; pwd = ""; path = ""; pp = ""; resp = ""; //define headers header = "content-type: text/xml"; // ALL POSSIBLE PGN VALUES [HEX] pgn= mkarray("F000", "F001", "F002", "F003", "F004", "F005", "F009", "FD09", "FD7D", "FDA4", "FDA5", "FDD1", "FE4E", "FE56", "FE6B", "FE6C", "FE70", "FEAE", "FEBF", "FEC0", "FEC1", "FED5", "FEE5", "FEE9", "FEEA", "FEEC", "FEEE", "FEEF", "FEF1", "FEF2", "FEF5", "FEF6", "FEF8", "FEF8", "FEFB", "FEFC"); for(i=0; i