Open sitolab opened 2 years ago
try to modify function "login(String host, String loginName, String password)" in 'libdsm_flutter/libdsm/lib/libdsm.dart'
change the key 'host' to 'hostname'
int result = await _methodChannel.invokeMethod('DSM_login', <String, dynamic>{ 'id': _dsmId, 'hostName': host, 'login_name': loginName, 'password': password, });
or try this repo: https://github.com/WellerZhao/libdsm
The app is very simple in itself and has these features:
Creating a folder with a custom name in a specific path
Within the created folder, other folders must be inserted with images taken with the app inside, the name of these folders must always be passed by the app
This is the very simple app and nothing special it performs
What we ask:
That the above app communicates via the smb (samba) protocol with the server in the local network via wi-fi
Nothing more and nothing less I hope to have been as synthetic as possible
let's try to insert the access data inside this line
void _login () async { await dsm.login ("http: // ip", "USER", "password"); }
but we get the illegal parameter error