So far one of my app has saved decoder-settings using MAP as per the following structure:
Decoder IP=192.168.1.8
UserName=myUserName
Password=myPassword
etc
Now I want to give the user the possibility to save settings relative to more than one decoder and thus allow multiple decoders in this app. This mean I will end up with decoder-settings as follows:
NameOfDecoder=Decoder1 (to distinguish from other decoders)
Decoder IP=192.168.1.8
UserName=myUserName
Password=myPassword
etc
NameOfDecoder=Decoder2
Decoder IP=192.168.1.9
UserName=myUserName
Password=myPassword
etc
NameOfDecoder=Decoder3
Decoder IP=192.168.1.10
UserName=myUserName
Password=myPassword
etc
Maybe in this case, the usage of MAP is not the best one.
How would you handle the saving of mutilple profiles (in my case, more than one decoder)? I guess it must be structured somehow. However, I don't want to use any database for this.
Decoder IP=192.168.1.8
UserName=myUserName
Password=myPassword
etc
Now I want to give the user the possibility to save settings relative to more than one decoder and thus allow multiple decoders in this app. This mean I will end up with decoder-settings as follows:
NameOfDecoder=Decoder1 (to distinguish from other decoders)
Decoder IP=192.168.1.8
UserName=myUserName
Password=myPassword
etc
NameOfDecoder=Decoder2
Decoder IP=192.168.1.9
UserName=myUserName
Password=myPassword
etc
NameOfDecoder=Decoder3
Decoder IP=192.168.1.10
UserName=myUserName
Password=myPassword
etc
Maybe in this case, the usage of MAP is not the best one.
How would you handle the saving of mutilple profiles (in my case, more than one decoder)? I guess it must be structured somehow. However, I don't want to use any database for this.