You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
The WiFi Connected block outputs a number for the "Connected network security" output variable. Does anybody know how to translate this number to the security type on the network?
Henrik "The Developer" Lindqvist
unread,
Feb 25, 2019, 2:49:41 PM2/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
You can see the bit flags (values) in the Wi-Fi network scan block, i.e. 1=WPA, 2=WPA2, 4=WEP
corganp...@gmail.com
unread,
Feb 25, 2019, 3:43:07 PM2/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
Thank you Henrik. So it looks like the security type should be an integer from 0-7, right? The value I'm getting is 1114115. What am I missing here?
Henrik "The Developer" Lindqvist
unread,
Feb 25, 2019, 9:32:07 PM2/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
It's a bit flags, and there's other unofficial bits. To mask just the "protocol" do:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
Ok thank you for walking me through this. So in my case: (security & 7) = 3 This means that WPA and WPA2 are enabled (WPA = 1, WPA2 = 2, WEP = 4) on the network, right?
Henrik "The Developer" Lindqvist
unread,
Feb 25, 2019, 11:26:10 PM2/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
No, 7 (1+2+4) is to mask out the unofficial bits, 4 was for WEP:
(security &7)=4
for WPA:
(security &7)=1
for WPA2:
(security &7)=2
You could also do, to check for WEP:
security &4
for WPA:
security &1
for WPA2:
security &2
corganp...@gmail.com
unread,
Feb 25, 2019, 11:36:49 PM2/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
Ok, so what does it mean when (security & 7) = 3? This is the result I'm getting. I checked my WiFi settings and under Security it says 'WPA/WPA 2 PSK'.
Henrik "The Developer" Lindqvist
unread,
Feb 26, 2019, 1:47:55 AM2/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
3 = 1+2 = WPA+WPA2
corganp...@gmail.com
unread,
Feb 26, 2019, 3:46:16 AM2/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate
Ok got it. Thank you for all your help, Henrik!
Automate for Android
unread,
Sep 19, 2023, 8:06:02 AM9/19/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate for Android
This should be included in the docs.
Automate for Android
unread,
Sep 19, 2023, 8:22:37 AM9/19/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate for Android
A simple function I came up with, that gives you an array of securities: