{"__v":0,"_id":"569e599efbee990d0072d912","category":{"__v":9,"_id":"559a61d3dbcfd20d00710b3d","pages":["559a61d3dbcfd20d00710b3f","55a54655670b152f00075368","55a546722e70c025003805db","55a8d4c8cf45e1390093f1bf","55a8d4fd27a17d2100525155","55a8d51cc8bd450d000dd09e","55a9118c27a17d210052523b","565dbeaa94f30d0d00d1f37c","569e599efbee990d0072d912"],"project":"559a61d2dbcfd20d00710b39","version":"559a61d2dbcfd20d00710b3c","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-06T11:09:07.118Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"parentDoc":null,"project":"559a61d2dbcfd20d00710b39","user":"559a618bdbcfd20d00710b38","version":{"__v":23,"_id":"559a61d2dbcfd20d00710b3c","project":"559a61d2dbcfd20d00710b39","createdAt":"2015-07-06T11:09:06.510Z","releaseDate":"2015-07-06T11:09:06.510Z","categories":["559a61d3dbcfd20d00710b3d","55a589ddaaf9cf1900114dd0","55a589e30f354f0d00fd0312","55a589ea80c8a30d00b323cc","55a589f6aaf9cf1900114dd1","55a58d4e80c8a30d00b323e6","55a8e7a227a17d21005251a2","55a93098cf45e1390093f351","55afb085f202b12100cd9e83","55afb22e902fd51700f5f8bf","55afb260902fd51700f5f8c2","55afb28ec8a85321007a5462","55afb294f202b12100cd9e95","55afb29b902fd51700f5f8c5","55afb2a1c8a85321007a5463","55afb2a7902fd51700f5f8c7","55afb2ad902fd51700f5f8c8","55afb2b5902fd51700f5f8ca","55b74b2131bccb190081bedc","55bb441b54f9640d006e6cf2","565711085cb2420d00d70071","5681681330018c0d006bf7ff","588f38b5923d610f00c72dad"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"Version 1.0","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-19T15:43:26.383Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"##Geofences\n\nMobile phones use a combination of sensors to estimate current position, depending on its availability. Specifically:\n\n- GPS\n- Wi-Fi\n- Cellular networks\n- Bluetooth\n\n###GPS \n\nMOCA SDK does not use GPS directly, as this is a high battery consuming resource and it does not work indoors.\n\n###Wi-Fi \n\nThis is is the main source of data that mobile devices use to calculate its position. Error margin is about 20 - 50 meters (65 -165 feet), is very fast and it is battery friendly. \nThis technique does not require the device to be connected to a Wi-Fi network, by having the Wi-Fi chip enabled, mobile phone is able to fetch nearby Wi-Fi networks and estimate its position.\n\n###Cellular networks\n\nIn locations where there are no Wi-Fi networks (e.g. rural areas), mobile devices rely on information relative to the nearby cell towers to determine its position. This is a battery friendly method, but does its precision is low. For example in Android:\n\n>When Wi-Fi location is not available (for example, when you are driving in rural areas) the location accuracy degrades. The accuracy range can be as large as several hundred meters to several kilometers. In cases like this, you should create geofences using a larger radius.\n\n- In order to maximize detections, create geofences with a minimum radius of 100m\n\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/k7f2w6MGSHKGBfwfZhJY_Captura%20de%20pantalla%202016-01-19%20a%20las%2016.38.41.png\",\n        \"Captura de pantalla 2016-01-19 a las 16.38.41.png\",\n        \"1142\",\n        \"1015\",\n        \"#b33d3a\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"proximity-guidelines-how-to-maximize-detections","type":"basic","title":"Proximity guidelines: How to maximize detections"}

Proximity guidelines: How to maximize detections


##Geofences Mobile phones use a combination of sensors to estimate current position, depending on its availability. Specifically: - GPS - Wi-Fi - Cellular networks - Bluetooth ###GPS MOCA SDK does not use GPS directly, as this is a high battery consuming resource and it does not work indoors. ###Wi-Fi This is is the main source of data that mobile devices use to calculate its position. Error margin is about 20 - 50 meters (65 -165 feet), is very fast and it is battery friendly. This technique does not require the device to be connected to a Wi-Fi network, by having the Wi-Fi chip enabled, mobile phone is able to fetch nearby Wi-Fi networks and estimate its position. ###Cellular networks In locations where there are no Wi-Fi networks (e.g. rural areas), mobile devices rely on information relative to the nearby cell towers to determine its position. This is a battery friendly method, but does its precision is low. For example in Android: >When Wi-Fi location is not available (for example, when you are driving in rural areas) the location accuracy degrades. The accuracy range can be as large as several hundred meters to several kilometers. In cases like this, you should create geofences using a larger radius. - In order to maximize detections, create geofences with a minimum radius of 100m [block:image] { "images": [ { "image": [ "https://files.readme.io/k7f2w6MGSHKGBfwfZhJY_Captura%20de%20pantalla%202016-01-19%20a%20las%2016.38.41.png", "Captura de pantalla 2016-01-19 a las 16.38.41.png", "1142", "1015", "#b33d3a", "" ] } ] } [/block]