expand notifyMyAndroid-plugin for multi recipients and/or different priorities #33

use csv/nma.csv to config different priorities or multiple recipients
This commit is contained in:
JHCD 2015-07-28 22:50:22 +02:00
parent 990f0b579d
commit b529e93763
5 changed files with 291 additions and 99 deletions

29
csv/nma.csv Normal file
View file

@ -0,0 +1,29 @@
typ,id,APIKey,priority,comment
#
# BOSWatch CSV file for notifyMyAndroid-Plugin
#
# For each id (FMS, ZVEI, POC) you could set multiple APIKeys with different prioties
# Use the structure: typ, id, APIKey, priority, "comment"
#
# For more than one recipient you could you an id several times
#
# Typ: FMS|ZVEI|POC
#
# id:
# ---
# FMS: FMS Code
# ZVEI: ZVEI 5-tone Code
# POCSAG: POCSAG RIC + functionChar
# 1234567a = entry only for functionChar a
# 1234567* = entry for all functionChars
#
# Priority: goes from -2 (lowest) to 2 (highest). the default priority is 0 (normal)
#
# !!! DO NOT delete the first line !!!
#
POC,1000512*,123456789012345678901234567890123456789012345678,0,"Test for *"
POC,1000000a,123456789012345678901234567890123456789012345678,-2,"Priority-Test"
POC,1000000a,234567890123456789012345678901234567890123456789,-1,"Priority-Test"
POC,1000001b,123456789012345678901234567890123456789012345678,0,"Priority-Test"
POC,1000002c,123456789012345678901234567890123456789012345678,1,"Priority-Test"
POC,1000003d,123456789012345678901234567890123456789012345678,2,"Priority-Test"
Can't render this file because it has a wrong number of fields in line 2.