Retrieves a ThingsBoard token.
token = thingsboard_getToken(url,user,pw)
The ThingsBoard platform url
Username
password
A struc containing the token ID and refresh token ID
Retrieves a ThingsBoard token ID using the username and password. The token allows a user to pull data from ThingsBoard. The token expires after a period of time and needs to be refreshed.