@@ -0,0 +1,39 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"ak0991x_0":{
|
||||
"owner": "sns_ak0991x",
|
||||
".mag":{
|
||||
"owner": "sns_ak0991x",
|
||||
".config":{
|
||||
"owner": "sns_ak0991x",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".config_2":{
|
||||
"owner": "sns_ak0991x",
|
||||
"use_fifo":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"nsf":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sdr":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP", "QRD"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
"ak0991x_0":{
|
||||
"owner": "sns_ak0991x",
|
||||
".mag":{
|
||||
"owner": "sns_ak0991x",
|
||||
".config":{
|
||||
"owner": "sns_ak0991x",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".config_2":{
|
||||
"owner": "sns_ak0991x",
|
||||
"use_fifo":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"nsf":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sdr":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP"],
|
||||
"soc_id": ["321", "341"]
|
||||
},
|
||||
"bma2x2_0":{
|
||||
"owner": "sns_bma2x2",
|
||||
".accel":{
|
||||
"owner": "sns_bma2x2",
|
||||
".config":{
|
||||
"owner": "sns_bma2x2",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "sns_bma2x2",
|
||||
".config":{
|
||||
"owner": "sns_bma2x2",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "sns_bma2x2",
|
||||
".config":{
|
||||
"owner": "sns_bma2x2",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["339", "341", "361"]
|
||||
},
|
||||
"bme680_0":{
|
||||
"owner": "sns_bme680",
|
||||
".gas":{
|
||||
"owner": "sns_bme680",
|
||||
".config":{
|
||||
"owner": "sns_bme680",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temperature":{
|
||||
"owner": "sns_bme680",
|
||||
".config":{
|
||||
"owner": "sns_bme680",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".humidity":{
|
||||
"owner": "sns_bme680",
|
||||
".config":{
|
||||
"owner": "sns_bme680",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".pressure":{
|
||||
"owner": "sns_bme680",
|
||||
".config":{
|
||||
"owner": "sns_bme680",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "QRD"],
|
||||
"soc_id": ["321", "341"]
|
||||
},
|
||||
"bmg160_0":{
|
||||
"owner": "sns_bmg160",
|
||||
".gyro":{
|
||||
"owner": "sns_bmg160",
|
||||
".config":{
|
||||
"owner": "sns_bmg160",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "sns_bmg160",
|
||||
".config":{
|
||||
"owner": "sns_bmg160",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "IDP"],
|
||||
"soc_id": ["347","300","301","394"]
|
||||
},
|
||||
"bmi160_0":{
|
||||
"owner": "sns_bmi160",
|
||||
".accel":{
|
||||
"owner": "sns_bmi160",
|
||||
".config":{
|
||||
"owner": "sns_bmi160",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "sns_bmi160",
|
||||
".config":{
|
||||
"owner": "sns_bmi160",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "sns_bmi160",
|
||||
".config":{
|
||||
"owner": "sns_bmi160",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "sns_bmi160",
|
||||
".config":{
|
||||
"owner": "sns_bmi160",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP"],
|
||||
"soc_id": ["341"]
|
||||
},
|
||||
"bmm150_0":{
|
||||
"owner": "sns_bmm150",
|
||||
".mag":{
|
||||
"owner": "sns_bmm150",
|
||||
".config":{
|
||||
"owner": "sns_bmm150",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "sns_bmm150",
|
||||
".config":{
|
||||
"owner": "sns_bmm150",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "341", "355", "360", "393", "394"]
|
||||
},
|
||||
"bmp285_0":{
|
||||
"owner": "sns_bmp285",
|
||||
".temp":{
|
||||
"owner": "sns_bmp285",
|
||||
".config":{
|
||||
"owner": "sns_bmp285",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".pressure":{
|
||||
"owner": "sns_bmp285",
|
||||
".config":{
|
||||
"owner": "sns_bmp285",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "339", "355", "361", "365", "366", "394"]
|
||||
},
|
||||
"bu52053nvx_0":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
".hall":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
".config":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "360", "361", "393"]
|
||||
},
|
||||
"cm3526_0":{
|
||||
"owner": "sns_cm3526",
|
||||
".uv":{
|
||||
"owner": "sns_cm3526",
|
||||
".config":{
|
||||
"owner": "sns_cm3526",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "361", "365", "366", "394"]
|
||||
},
|
||||
|
||||
"default_sensors": {
|
||||
"owner": "suid",
|
||||
".accel": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".gyro": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".mag": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".motion_detect": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".amd": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".tilt": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["291", "246", "305", "321", "339", "361"]
|
||||
},
|
||||
"ifx_dps368_0":{
|
||||
"owner": "ifx_dps368",
|
||||
".temp":{
|
||||
"owner": "ifx_dps368",
|
||||
".config":{
|
||||
"owner": "ifx_dps368",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".pressure":{
|
||||
"owner": "ifx_dps368",
|
||||
".config":{
|
||||
"owner": "ifx_dps368",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "336", "339", "341", "347", "360", "394"]
|
||||
},
|
||||
"icm4x6xx_0":{
|
||||
"owner": "icm4x6xx",
|
||||
".accel":{
|
||||
"owner": "icm4x6xx",
|
||||
".config":{
|
||||
"owner": "icm4x6xx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "icm4x6xx",
|
||||
".config":{
|
||||
"owner": "icm4x6xx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "icm4x6xx",
|
||||
".config":{
|
||||
"owner": "icm4x6xx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "icm4x6xx",
|
||||
".config":{
|
||||
"owner": "icm4x6xx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["300", "301"]
|
||||
},
|
||||
"icp101xx_0":{
|
||||
"owner": "sns_icp101xx",
|
||||
".temp":{
|
||||
"owner": "sns_icp101xx",
|
||||
".config":{
|
||||
"owner": "sns_icp101xx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".pressure":{
|
||||
"owner": "sns_icp101xx",
|
||||
".config":{
|
||||
"owner": "sns_icp101xx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf"],
|
||||
"soc_id": ["291", "246", "305"]
|
||||
},
|
||||
"lsm6ds3_0":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
".accel":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
".config":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
".config":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
".config":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
".config":{
|
||||
"owner": "sns_lsm6ds3",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["336", "339", "341", "347", "360", "394"]
|
||||
},
|
||||
"lsm6ds3c_0":{
|
||||
"owner": "lsm6ds3c",
|
||||
".accel":{
|
||||
"owner": "lsm6ds3c",
|
||||
".config":{
|
||||
"owner": "lsm6ds3c",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "lsm6ds3c",
|
||||
".config":{
|
||||
"owner": "lsm6ds3c",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "lsm6ds3c",
|
||||
".config":{
|
||||
"owner": "lsm6ds3c",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "lsm6ds3c",
|
||||
".config":{
|
||||
"owner": "lsm6ds3c",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf"],
|
||||
"soc_id": ["291", "246", "305", "321"]
|
||||
},
|
||||
"lsm6dsm_0":{
|
||||
"owner": "lsm6dsm",
|
||||
".accel":{
|
||||
"owner": "lsm6dsm",
|
||||
".config":{
|
||||
"owner": "lsm6dsm",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "lsm6dsm",
|
||||
".config":{
|
||||
"owner": "lsm6dsm",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "lsm6dsm",
|
||||
".config":{
|
||||
"owner": "lsm6dsm",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "lsm6dsm",
|
||||
".config":{
|
||||
"owner": "lsm6dsm",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["321"]
|
||||
},
|
||||
"lsm6dsm_0":{
|
||||
"owner": "lsm6dsm",
|
||||
".accel":{
|
||||
"owner": "lsm6dsm",
|
||||
".config":{
|
||||
"owner": "lsm6dsm",
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["291", "246", "305"]
|
||||
},
|
||||
"lsm6dsm_0":{
|
||||
"owner": "lsm6dsm",
|
||||
".accel":{
|
||||
"owner": "lsm6dsm",
|
||||
".config":{
|
||||
"owner": "lsm6dsm",
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["300", "301", "336", "339", "341", "347", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"lsm6dso_0":{
|
||||
"owner": "lsm6dso",
|
||||
".accel":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["336", "339", "340", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"lsm6dso_0":{
|
||||
"owner": "lsm6dso",
|
||||
".accel":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["341", "347"]
|
||||
},
|
||||
"lsm6dso_0":{
|
||||
"owner": "lsm6dso",
|
||||
".accel":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf"],
|
||||
"soc_id": ["300", "301"]
|
||||
},
|
||||
"ltr308_0":{
|
||||
"owner": "sns_ltr308",
|
||||
".ambient":{
|
||||
"owner": "sns_ltr308",
|
||||
".config":{
|
||||
"owner": "sns_ltr308",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".config_2":{
|
||||
"owner": "sns_ltr308",
|
||||
"sample_rate":{ "type": "flt", "ver": "0",
|
||||
"data": "5.0"
|
||||
},
|
||||
"als_cal_lux":{ "type": "flt", "ver": "0",
|
||||
"data": "300.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
"ak0991x_0_platform":{
|
||||
"owner": "sns_ak0991x",
|
||||
".config":{
|
||||
"owner": "sns_ak0991x",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "12"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".orient":{
|
||||
"owner": "sns_ak0991x",
|
||||
"x":{ "type": "str", "ver": "0",
|
||||
"data": "-x"
|
||||
},
|
||||
"y":{ "type": "str", "ver": "0",
|
||||
"data": "-y"
|
||||
},
|
||||
"z":{ "type": "str", "ver": "0",
|
||||
"data": "+z"
|
||||
}
|
||||
},
|
||||
".mag":{
|
||||
"owner": "sns_ak0991x",
|
||||
".fac_cal":{
|
||||
"owner": "sns_ak0991x",
|
||||
".corr_mat":{
|
||||
"owner": "sns_ak0991x",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.062"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.054"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.018"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.054"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.950"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.016"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.018"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.016"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.987"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_ak0991x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".fac_cal_2":{
|
||||
"owner": "sns_ak0991x",
|
||||
".corr_mat":{
|
||||
"owner": "sns_ak0991x",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.00225830078125"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.02764892578125"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.02447509765625"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.02764892578125"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.93914794921875"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.02825927734375"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.02447509765625"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.02825927734375"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0654296875"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_ak0991x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "sns_ak0991x",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": [ "394"]
|
||||
},
|
||||
"bmi160_0_platform":{
|
||||
"owner": "bmi160",
|
||||
".config":{
|
||||
"owner": "bmi160",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "104"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "80"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"min_odr":{ "type": "int", "ver": "0",
|
||||
"data": "13"
|
||||
},
|
||||
"max_odr":{ "type": "int", "ver": "0",
|
||||
"data": "416"
|
||||
}
|
||||
},
|
||||
".orient":{
|
||||
"owner": "bmi160",
|
||||
"x":{ "type": "str", "ver": "0",
|
||||
"data": "+y"
|
||||
},
|
||||
"y":{ "type": "str", "ver": "0",
|
||||
"data": "+x"
|
||||
},
|
||||
"z":{ "type": "str", "ver": "0",
|
||||
"data": "-z"
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "bmi160",
|
||||
".fac_cal":{
|
||||
"owner": "bmi160",
|
||||
".corr_mat":{
|
||||
"owner": "bmi160",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "bmi160",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".accel":{
|
||||
"owner": "bmi160",
|
||||
".fac_cal":{
|
||||
"owner": "bmi160",
|
||||
".corr_mat":{
|
||||
"owner": "bmi160",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "bmi160",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "bmi160",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "bmi160",
|
||||
".scale":{
|
||||
"owner": "bmi160",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "bmi160",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "bmi160",
|
||||
".config":{
|
||||
"owner": "bmi160",
|
||||
"thresh":{ "type": "flt", "ver": "0",
|
||||
"data": "0.6132"
|
||||
},
|
||||
"disable":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"win":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "bmi160",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
"bmp285_0":{
|
||||
"owner": "sns_bmp285",
|
||||
".temp":{
|
||||
"owner": "sns_bmp285",
|
||||
".config":{
|
||||
"owner": "sns_bmp285",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".pressure":{
|
||||
"owner": "sns_bmp285",
|
||||
".config":{
|
||||
"owner": "sns_bmp285",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"bmp285_0_platform":{
|
||||
"owner": "sns_bmp285",
|
||||
".config":{
|
||||
"owner": "sns_bmp285",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "9"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "118"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "sns_bmp285",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "sns_bmp285",
|
||||
".scale":{
|
||||
"owner": "sns_bmp285",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_bmp285",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".pressure":{
|
||||
"owner": "sns_bmp285",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "sns_bmp285",
|
||||
".scale":{
|
||||
"owner": "sns_bmp285",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_bmp285",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "sns_bmp285",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
"bu52053nvx_0":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
".hall":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
".config":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"bu52053nvx_0_platform":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
".config":{
|
||||
"owner": "sns_bu52053nvx",
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "94"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP", "Dragon", "Surf", "QRD", "HDK"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
|
||||
"default_sensors": {
|
||||
"owner": "suid",
|
||||
".accel": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".gyro": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".mag": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".motion_detect": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".sensor_temperature": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
},
|
||||
".attr_1": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "0" },
|
||||
"val": { "type": "str", "ver": "0", "data": "lsm6dso" }
|
||||
}
|
||||
},
|
||||
|
||||
".proximity": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "16" },
|
||||
"val": { "type": "int", "ver": "0", "data": "1" }
|
||||
}
|
||||
},
|
||||
|
||||
".ambient_light": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "16" },
|
||||
"val": { "type": "int", "ver": "0", "data": "1" }
|
||||
}
|
||||
},
|
||||
|
||||
".accel_cal": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".gyro_cal": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".mag_cal": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".amd": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".tilt": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".gyro_rot_matrix": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".gravity": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".game_rv": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".geomag_rv": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".fmv": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
},
|
||||
|
||||
".rotv": {
|
||||
"owner": "suid",
|
||||
".attr_0": {
|
||||
"owner": "suid",
|
||||
"id": { "type": "int", "ver": "0", "data": "19" },
|
||||
"val": { "type": "int", "ver": "0", "data": "0" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,238 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
"icm4x6xx_0_platform":{
|
||||
"owner": "icm4x6xx",
|
||||
".config":{
|
||||
"owner": "icm4x6xx",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "0x68"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "80"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".orient":{
|
||||
"owner": "icm4x6xx",
|
||||
"x":{ "type": "str", "ver": "0",
|
||||
"data": "-x"
|
||||
},
|
||||
"y":{ "type": "str", "ver": "0",
|
||||
"data": "+y"
|
||||
},
|
||||
"z":{ "type": "str", "ver": "0",
|
||||
"data": "-z"
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "icm4x6xx",
|
||||
".fac_cal":{
|
||||
"owner": "icm4x6xx",
|
||||
".corr_mat":{
|
||||
"owner": "icm4x6xx",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "icm4x6xx",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".accel":{
|
||||
"owner": "icm4x6xx",
|
||||
".fac_cal":{
|
||||
"owner": "icm4x6xx",
|
||||
".corr_mat":{
|
||||
"owner": "icm4x6xx",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "icm4x6xx",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "icm4x6xx",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "icm4x6xx",
|
||||
".scale":{
|
||||
"owner": "icm4x6xx",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "icm4x6xx",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "icm4x6xx",
|
||||
".config":{
|
||||
"owner": "icm4x6xx",
|
||||
"thresh":{ "type": "flt", "ver": "0",
|
||||
"data": "0.49"
|
||||
},
|
||||
"disable":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"win":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "icm4x6xx",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,323 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": [ "394"]
|
||||
},
|
||||
"lsm6dso_0":{
|
||||
"owner": "lsm6dso",
|
||||
".accel":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"lsm6dso_0_platform":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "107"
|
||||
},
|
||||
"i3c_address":{ "type": "int", "ver": "0",
|
||||
"data": "10"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "12500"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "80"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"min_odr":{ "type": "int", "ver": "0",
|
||||
"data": "13"
|
||||
},
|
||||
"max_odr":{ "type": "int", "ver": "0",
|
||||
"data": "416"
|
||||
}
|
||||
},
|
||||
".orient":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "str", "ver": "0",
|
||||
"data": "-x"
|
||||
},
|
||||
"y":{ "type": "str", "ver": "0",
|
||||
"data": "-y"
|
||||
},
|
||||
"z":{ "type": "str", "ver": "0",
|
||||
"data": "+z"
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "lsm6dso",
|
||||
".fac_cal":{
|
||||
"owner": "lsm6dso",
|
||||
".corr_mat":{
|
||||
"owner": "lsm6dso",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".accel":{
|
||||
"owner": "lsm6dso",
|
||||
".fac_cal":{
|
||||
"owner": "lsm6dso",
|
||||
".corr_mat":{
|
||||
"owner": "lsm6dso",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "lsm6dso",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "lsm6dso",
|
||||
".scale":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"thresh":{ "type": "flt", "ver": "0",
|
||||
"data": "0.6132"
|
||||
},
|
||||
"disable":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"win":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "lsm6dso",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,239 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD"],
|
||||
"soc_id": [ "394"]
|
||||
},
|
||||
"ak0991x_0":{
|
||||
"owner": "sns_ak0991x",
|
||||
".mag":{
|
||||
"owner": "sns_ak0991x",
|
||||
".config":{
|
||||
"owner": "sns_ak0991x",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".config_2":{
|
||||
"owner": "sns_ak0991x",
|
||||
"use_fifo":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"nsf":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sdr":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"ak0991x_0_platform":{
|
||||
"owner": "sns_ak0991x",
|
||||
".config":{
|
||||
"owner": "sns_ak0991x",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "12"
|
||||
},
|
||||
"i3c_address":{ "type": "int", "ver": "0",
|
||||
"data": "20"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "12500"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "82"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".orient":{
|
||||
"owner": "sns_ak0991x",
|
||||
"x":{ "type": "str", "ver": "0",
|
||||
"data": "+y"
|
||||
},
|
||||
"y":{ "type": "str", "ver": "0",
|
||||
"data": "+x"
|
||||
},
|
||||
"z":{ "type": "str", "ver": "0",
|
||||
"data": "-z"
|
||||
}
|
||||
},
|
||||
".mag":{
|
||||
"owner": "sns_ak0991x",
|
||||
".fac_cal":{
|
||||
"owner": "sns_ak0991x",
|
||||
".corr_mat":{
|
||||
"owner": "sns_ak0991x",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.025"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.003"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.003"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "-0.003"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.968"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.003"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.003"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.003"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.007"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_ak0991x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".fac_cal_2":{
|
||||
"owner": "sns_ak0991x",
|
||||
".corr_mat":{
|
||||
"owner": "sns_ak0991x",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_ak0991x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "sns_ak0991x",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,320 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["QRD"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
"lsm6dso_0":{
|
||||
"owner": "lsm6dso",
|
||||
".accel":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"lsm6dso_0_platform":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "107"
|
||||
},
|
||||
"i3c_address":{ "type": "int", "ver": "0",
|
||||
"data": "10"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "12500"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "80"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"min_odr":{ "type": "int", "ver": "0",
|
||||
"data": "13"
|
||||
},
|
||||
"max_odr":{ "type": "int", "ver": "0",
|
||||
"data": "416"
|
||||
}
|
||||
},
|
||||
".orient":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "str", "ver": "0",
|
||||
"data": "+y"
|
||||
},
|
||||
"y":{ "type": "str", "ver": "0",
|
||||
"data": "-x"
|
||||
},
|
||||
"z":{ "type": "str", "ver": "0",
|
||||
"data": "+z"
|
||||
}
|
||||
},
|
||||
".gyro":{
|
||||
"owner": "lsm6dso",
|
||||
".fac_cal":{
|
||||
"owner": "lsm6dso",
|
||||
".corr_mat":{
|
||||
"owner": "lsm6dso",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".accel":{
|
||||
"owner": "lsm6dso",
|
||||
".fac_cal":{
|
||||
"owner": "lsm6dso",
|
||||
".corr_mat":{
|
||||
"owner": "lsm6dso",
|
||||
"0_0":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"0_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"0_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1_1":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"1_2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2_2":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"y":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"z":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "lsm6dso",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "lsm6dso",
|
||||
".scale":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "lsm6dso",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".md":{
|
||||
"owner": "lsm6dso",
|
||||
".config":{
|
||||
"owner": "lsm6dso",
|
||||
"thresh":{ "type": "flt", "ver": "0",
|
||||
"data": "0.6132"
|
||||
},
|
||||
"disable":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"win":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "lsm6dso",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["QRD"],
|
||||
"soc_id": [ "394"]
|
||||
},
|
||||
"tmd2725_platform":{
|
||||
"owner": "sns_tmd2725",
|
||||
".config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "9"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "57"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "91"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"vdd_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/see/rail/eLDO"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".als":{
|
||||
"owner": "sns_tmd2725",
|
||||
".fac_cal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"scale":{ "type": "flt", "ver": "0",
|
||||
"data": "10356.0"
|
||||
},
|
||||
"bias":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
},
|
||||
".custom_cal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"l0_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "1000.0"
|
||||
},
|
||||
"l1_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "260.0"
|
||||
},
|
||||
"l2_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "800.0"
|
||||
},
|
||||
"l3_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "270.0"
|
||||
},
|
||||
"d_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "41.0"
|
||||
}
|
||||
},
|
||||
".def_config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"a_time":{ "type": "flt", "ver": "0",
|
||||
"data": "90000.0"
|
||||
},
|
||||
"w_time":{ "type": "flt", "ver": "0",
|
||||
"data": "2800"
|
||||
},
|
||||
"w_long":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"a_gain":{ "type": "flt", "ver": "0",
|
||||
"data": "16000.0"
|
||||
},
|
||||
"a_pers":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"a_upperThrs":{ "type": "flt", "ver": "0",
|
||||
"data": "5.0"
|
||||
},
|
||||
"a_lowerThrs":{ "type": "flt", "ver": "0",
|
||||
"data": "5.0"
|
||||
},
|
||||
"a_thrsWidth":{ "type": "flt", "ver": "0",
|
||||
"data": "10.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".prox":{
|
||||
"owner": "sns_tmd2725",
|
||||
".fac_cal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"near_threshold":{ "type": "flt", "ver": "0",
|
||||
"data": "7796.0"
|
||||
},
|
||||
"far_threshold":{ "type": "flt", "ver": "0",
|
||||
"data": "5000.0"
|
||||
}
|
||||
},
|
||||
".proxOffset_hWcal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"proxOffset":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"proxOffsetSign":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
},
|
||||
".def_config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"ptime":{ "type": "flt", "ver": "0",
|
||||
"data": "10120.0"
|
||||
},
|
||||
"ppulse_len":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"ppulse":{ "type": "flt", "ver": "0",
|
||||
"data": "17.0"
|
||||
},
|
||||
"pgain":{ "type": "flt", "ver": "0",
|
||||
"data": "1000.0"
|
||||
},
|
||||
"pldrive":{ "type": "flt", "ver": "0",
|
||||
"data": "24.0"
|
||||
},
|
||||
"ppers":{ "type": "flt", "ver": "0",
|
||||
"data": "2.0"
|
||||
},
|
||||
"pupper_thrs":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"plower_thrs":{ "type": "flt", "ver": "0",
|
||||
"data": "255.0"
|
||||
},
|
||||
"poffset_sign":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"poffset_L":{ "type": "flt", "ver": "0",
|
||||
"data": "50.0"
|
||||
},
|
||||
"pBinSearch":{ "type": "flt", "ver": "0",
|
||||
"data": "2.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "sns_tmd2725",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Surf", "QRD", "IDP"],
|
||||
"soc_id": ["321", "355", "394"]
|
||||
},
|
||||
"stk3x3x_0_platform":{
|
||||
"owner": "sns_stk3x3x",
|
||||
".config":{
|
||||
"owner": "sns_stk3x3x",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "9"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "71"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "94"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vdd_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/see/rail/eLDO"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".als":{
|
||||
"owner": "sns_stk3x3x",
|
||||
".fac_cal":{
|
||||
"owner": "sns_stk3x3x",
|
||||
"scale":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"bias":{ "type": "flt", "ver": "0",
|
||||
"data": "5000.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".ps":{
|
||||
"owner": "sns_stk3x3x",
|
||||
".fac_cal":{
|
||||
"owner": "sns_stk3x3x",
|
||||
"near_threshold":{ "type": "flt", "ver": "0",
|
||||
"data": "30000.0"
|
||||
},
|
||||
"far_threshold":{ "type": "flt", "ver": "0",
|
||||
"data": "28000.0"
|
||||
},
|
||||
"ctir_config":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"ht_n_ct":{ "type": "flt", "ver": "0",
|
||||
"data": "350.0"
|
||||
},
|
||||
"lt_n_ct":{ "type": "flt", "ver": "0",
|
||||
"data": "300.0"
|
||||
},
|
||||
"data_ct":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": ["394"]
|
||||
},
|
||||
"sx932x_0_platform":{
|
||||
"owner": "sns_sx932x",
|
||||
".config":{
|
||||
"owner": "sns_sx932x",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "7"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "40"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "126"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".temp":{
|
||||
"owner": "sns_sx932x",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "sns_sx932x",
|
||||
".scale":{
|
||||
"owner": "sns_sx932x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_sx932x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".sar":{
|
||||
"owner": "sns_sx932x",
|
||||
".fac_cal":
|
||||
{
|
||||
"owner": "sns_sx932x",
|
||||
".scale":{
|
||||
"owner": "sns_sx932x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
}
|
||||
},
|
||||
".bias":{
|
||||
"owner": "sns_sx932x",
|
||||
"x":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "sns_sx932x",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["IDP"],
|
||||
"soc_id": [ "394" ]
|
||||
},
|
||||
"tmd2725_platform":{
|
||||
"owner": "sns_tmd2725",
|
||||
".config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"bus_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"bus_instance":{ "type": "int", "ver": "0",
|
||||
"data": "9"
|
||||
},
|
||||
"slave_config":{ "type": "int", "ver": "0",
|
||||
"data": "57"
|
||||
},
|
||||
"min_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"max_bus_speed_khz":{ "type": "int", "ver": "0",
|
||||
"data": "400"
|
||||
},
|
||||
"reg_addr_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"dri_irq_num":{ "type": "int", "ver": "0",
|
||||
"data": "91"
|
||||
},
|
||||
"irq_pull_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_is_chip_pin":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"irq_drive_strength":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"irq_trigger_type":{ "type": "int", "ver": "0",
|
||||
"data": "4"
|
||||
},
|
||||
"num_rail":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"rail_on_state":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"vddio_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/pmic/client/sensor_vddio"
|
||||
},
|
||||
"vdd_rail":{ "type": "str", "ver": "0",
|
||||
"data": "/see/rail/eLDO"
|
||||
},
|
||||
"rigid_body_type":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
},
|
||||
".als":{
|
||||
"owner": "sns_tmd2725",
|
||||
".fac_cal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"scale":{ "type": "flt", "ver": "0",
|
||||
"data": "1675.0"
|
||||
},
|
||||
"bias":{ "type": "flt", "ver": "0",
|
||||
"data": "2000.0"
|
||||
}
|
||||
},
|
||||
".custom_cal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"l0_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "1000.0"
|
||||
},
|
||||
"l1_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "260.0"
|
||||
},
|
||||
"l2_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "800.0"
|
||||
},
|
||||
"l3_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "270.0"
|
||||
},
|
||||
"d_factor":{ "type": "flt", "ver": "0",
|
||||
"data": "41.0"
|
||||
}
|
||||
},
|
||||
".def_config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"a_time":{ "type": "flt", "ver": "0",
|
||||
"data": "90000.0"
|
||||
},
|
||||
"w_time":{ "type": "flt", "ver": "0",
|
||||
"data": "2800"
|
||||
},
|
||||
"w_long":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"a_gain":{ "type": "flt", "ver": "0",
|
||||
"data": "16000.0"
|
||||
},
|
||||
"a_pers":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"a_upperThrs":{ "type": "flt", "ver": "0",
|
||||
"data": "5.0"
|
||||
},
|
||||
"a_lowerThrs":{ "type": "flt", "ver": "0",
|
||||
"data": "5.0"
|
||||
},
|
||||
"a_thrsWidth":{ "type": "flt", "ver": "0",
|
||||
"data": "10.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".prox":{
|
||||
"owner": "sns_tmd2725",
|
||||
".fac_cal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"near_threshold":{ "type": "flt", "ver": "0",
|
||||
"data": "6260.0"
|
||||
},
|
||||
"far_threshold":{ "type": "flt", "ver": "0",
|
||||
"data": "5000.0"
|
||||
}
|
||||
},
|
||||
".proxOffset_hWcal":{
|
||||
"owner": "sns_tmd2725",
|
||||
"proxOffset":{ "type": "flt", "ver": "0",
|
||||
"data": "9.0"
|
||||
},
|
||||
"proxOffsetSign":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
},
|
||||
".def_config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"ptime":{ "type": "flt", "ver": "0",
|
||||
"data": "10120.0"
|
||||
},
|
||||
"ppulse_len":{ "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"ppulse":{ "type": "flt", "ver": "0",
|
||||
"data": "17.0"
|
||||
},
|
||||
"pgain":{ "type": "flt", "ver": "0",
|
||||
"data": "1000.0"
|
||||
},
|
||||
"pldrive":{ "type": "flt", "ver": "0",
|
||||
"data": "24.0"
|
||||
},
|
||||
"ppers":{ "type": "flt", "ver": "0",
|
||||
"data": "2.0"
|
||||
},
|
||||
"pupper_thrs":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"plower_thrs":{ "type": "flt", "ver": "0",
|
||||
"data": "255.0"
|
||||
},
|
||||
"poffset_sign":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"poffset_L":{ "type": "flt", "ver": "0",
|
||||
"data": "50.0"
|
||||
},
|
||||
"pBinSearch":{ "type": "flt", "ver": "0",
|
||||
"data": "2.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".placement":{
|
||||
"owner": "sns_tmd2725",
|
||||
"0":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"1":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"2":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"3":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"4":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"5":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"6":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"7":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"8":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"9":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"10":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
},
|
||||
"11":{ "type": "flt", "ver": "0",
|
||||
"data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Surf"],
|
||||
"soc_id": ["300", "301"]
|
||||
},
|
||||
"pah_8011_0_platform.ppg_enable_ex_1": {
|
||||
"owner": "pah_8011",
|
||||
"0": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"1": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "20"
|
||||
},
|
||||
"2": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "25"
|
||||
},
|
||||
"3": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "524551551"
|
||||
},
|
||||
"4": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "68944255"
|
||||
},
|
||||
"5": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "1746994205"
|
||||
},
|
||||
"6": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "1747282211"
|
||||
},
|
||||
"7": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "86442022"
|
||||
},
|
||||
"8": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "-2143545070"
|
||||
},
|
||||
"9": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "-2143026627"
|
||||
},
|
||||
"10": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "-2142502331"
|
||||
},
|
||||
"11": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "8323661"
|
||||
},
|
||||
"12": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "259262065"
|
||||
}
|
||||
}
|
||||
}
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Surf"],
|
||||
"soc_id": ["300", "301"]
|
||||
},
|
||||
"pah_8011_0_platform.ppg_enable_ex_2": {
|
||||
"owner": "pah_8011",
|
||||
"0": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"1": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "20"
|
||||
},
|
||||
"2": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "100"
|
||||
},
|
||||
"3": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "71566719"
|
||||
},
|
||||
"4": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "136053119"
|
||||
},
|
||||
"5": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "1746993437"
|
||||
},
|
||||
"6": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "1747282211"
|
||||
},
|
||||
"7": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "19349542"
|
||||
},
|
||||
"8": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "2017223698"
|
||||
},
|
||||
"9": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "2017722429"
|
||||
},
|
||||
"10": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "2018246725"
|
||||
},
|
||||
"11": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "8323149"
|
||||
},
|
||||
"12": {
|
||||
"type": "int",
|
||||
"ver": "0",
|
||||
"data": "259262065"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP"],
|
||||
"soc_id": ["341"]
|
||||
},
|
||||
"rpr0521rs_0":{
|
||||
"owner": "sns_rpr0521rs",
|
||||
".ambient_light":{
|
||||
"owner": "sns_rpr0521rs",
|
||||
".config":{
|
||||
"owner": "sns_rpr0521rs",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".proximity":{
|
||||
"owner": "sns_rpr0521rs",
|
||||
".config":{
|
||||
"owner": "sns_rpr0521rs",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "360", "361", "393"]
|
||||
},
|
||||
"shtw2_0":{
|
||||
"owner": "sns_shtw2",
|
||||
".ambient_temperature":{
|
||||
"owner": "sns_shtw2",
|
||||
".config":{
|
||||
"owner": "sns_shtw2",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".humidity":{
|
||||
"owner": "sns_shtw2",
|
||||
".config":{
|
||||
"owner": "sns_shtw2",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "340", "347", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_amd": {
|
||||
"owner": "sns_amd",
|
||||
"param1": {"ver": "0","type": "flt","data": "0.06"
|
||||
},
|
||||
"param2": {"ver": "0","type": "flt","data": "0.5"
|
||||
},
|
||||
"sample_rate": {"ver": "0","type": "flt", "data": "10.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK"],
|
||||
"soc_id": ["339", "340", "361"]
|
||||
},
|
||||
"sns_amd": {
|
||||
"owner": "sns_amd",
|
||||
"enabled": {"ver": "0","type": "int", "data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "IOT"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "347", "341", "355", "360", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_amd": {
|
||||
"owner": "sns_amd",
|
||||
"enabled": {"ver": "0","type": "int", "data": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"config":{
|
||||
},
|
||||
"sns_aont": {
|
||||
"owner": "sns_aont",
|
||||
"aont_enable":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_basic_gestures": {
|
||||
"owner": "sns_basic_gestures",
|
||||
"sample_rate": { "type": "flt", "ver": "0",
|
||||
"data": "30.0"
|
||||
},
|
||||
"push_threshold": { "type": "flt", "ver": "0",
|
||||
"data": "14.7178"
|
||||
},
|
||||
"pull_threshold": { "type": "flt", "ver": "0",
|
||||
"data": "14.7178"
|
||||
},
|
||||
"shake_threshold": { "type": "flt", "ver": "0",
|
||||
"data": "14.7178"
|
||||
},
|
||||
"sleep": { "type": "flt", "ver": "0",
|
||||
"data": "0.3"
|
||||
},
|
||||
"param1": { "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"param2": { "type": "flt", "ver": "0",
|
||||
"data": "4.9059"
|
||||
},
|
||||
"param3": { "type": "flt", "ver": "0",
|
||||
"data": "0.1"
|
||||
},
|
||||
"param4": { "type": "flt", "ver": "0",
|
||||
"data": "0.2618"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_bring_to_ear": {
|
||||
"owner": "sns_bring_to_ear",
|
||||
"sample_rate": { "type": "flt", "ver": "0",
|
||||
"data": "30.0"
|
||||
},
|
||||
"facing_angle_threshold": { "type": "flt", "ver": "0",
|
||||
"data": "1.1345"
|
||||
},
|
||||
"horiz_angle_threshold": { "type": "flt", "ver": "0",
|
||||
"data": "0.3491"
|
||||
},
|
||||
"vert_angle_threshold": { "type": "flt", "ver": "0",
|
||||
"data": "0.3491"
|
||||
},
|
||||
"proximity_enable": { "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"param1": { "type": "flt", "ver": "0",
|
||||
"data": "2.943"
|
||||
},
|
||||
"param2": { "type": "flt", "ver": "0",
|
||||
"data": "0.2"
|
||||
},
|
||||
"param3": { "type": "flt", "ver": "0",
|
||||
"data": "0.2618"
|
||||
},
|
||||
"param4": {"type": "flt", "ver": "0",
|
||||
"data": "0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP","QRD","Dragon","Surf","HDK"],
|
||||
"soc_id": ["339", "340", "361"]
|
||||
},
|
||||
"ccd_amd": {
|
||||
"owner": "sns_ccd",
|
||||
"h2": { "ver": "0","type": "int",
|
||||
"data": "50"}
|
||||
},
|
||||
"ccd_walk": {
|
||||
"owner": "sns_ccd",
|
||||
"xct": { "ver": "0","type": "int",
|
||||
"data": "10" },
|
||||
"mls": { "ver": "0","type": "int",
|
||||
"data": "6" },
|
||||
"mps": { "ver": "0","type": "int",
|
||||
"data": "4" },
|
||||
"hmps": { "ver": "0","type": "int",
|
||||
"data": "4" }
|
||||
},
|
||||
"ccd_ttw": {
|
||||
"owner": "sns_ccd",
|
||||
"te0_ratecfg": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_xmd_win_len_samp": { "ver": "0","type": "int",
|
||||
"data": "0x4" },
|
||||
"te0_xmd_threshhold1": { "ver": "0","type": "int",
|
||||
"data": "0x4B00" },
|
||||
"te0_xmd_threshhold2": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_xmd_hysteresis1": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_xmd_hysteresis2": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_tilt_win_sum_shift": { "ver": "0","type": "int",
|
||||
"data": "0x2" },
|
||||
"te0_tr_win_len_samples": { "ver": "0","type": "int",
|
||||
"data": "0xD" },
|
||||
"te0_tr_angle_cosine_sq": { "ver": "0","type": "int",
|
||||
"data": "0x327" },
|
||||
"te0_tr_decimate_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_tr_hysteresis": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_dt_angle_cosine_sq": { "ver": "0","type": "int",
|
||||
"data": "0x2D0" },
|
||||
"te0_dt_ref_gravity_latch": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori0_x_th_lower": { "ver": "0","type": "int",
|
||||
"data": "0x1DED" },
|
||||
"te0_ori0_x_th_upper": { "ver": "0","type": "int",
|
||||
"data": "0x0213" },
|
||||
"te0_ori0_y_th_lower": { "ver": "0","type": "int",
|
||||
"data": "0x1B1D" },
|
||||
"te0_ori0_y_th_upper": { "ver": "0","type": "int",
|
||||
"data": "0x04E3" },
|
||||
"te0_ori0_z_th_lower": { "ver": "0","type": "int",
|
||||
"data": "0x1B44" },
|
||||
"te0_ori0_z_th_upper": { "ver": "0","type": "int",
|
||||
"data": "0x4D5" },
|
||||
"te0_ori0_x_th_lower_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_ori0_x_th_upper_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_ori0_y_th_lower_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_ori0_y_th_upper_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_ori0_z_th_lower_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_ori0_z_th_upper_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_ori0_delay": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_x_th_lower": { "ver": "0","type": "int",
|
||||
"data": "0x1C88" },
|
||||
"te0_ori1_x_th_upper": { "ver": "0","type": "int",
|
||||
"data": "0x377" },
|
||||
"te0_ori1_y_th_lower": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_y_th_upper": { "ver": "0","type": "int",
|
||||
"data": "0xF00" },
|
||||
"te0_ori1_z_th_lower": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_z_th_upper": { "ver": "0","type": "int",
|
||||
"data": "0xA00" },
|
||||
"te0_ori1_x_th_lower_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_x_th_upper_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_y_th_lower_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_y_th_upper_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_z_th_lower_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_z_th_upper_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_ori1_delay": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_xmd_cfg1_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd0_xmd_cfg2_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_tr_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd0_ori0_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd0_xmd_cfg1_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_xmd_cfg2_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_tr_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_ori_cfg1_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_xmd_cfg1_inv": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd0_xmd_cfg2_inv": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_tr_inv": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_ori0_inv": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_delay": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd0_output_inv": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_xmd_cfg1_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_xmd_cfg2_en": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_tr_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd1_ori1_en": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd1_xmd_cfg1_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_xmd_cfg2_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_tr_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_ori_cfg1_posthyst": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_xmd_cfg1_inv": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd1_xmd_cfg2_inv": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"te0_csd1_tr_inv": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_ori1_inv": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_delay": { "ver": "0","type": "int",
|
||||
"data": "0x0" },
|
||||
"te0_csd1_output_inv": { "ver": "0","type": "int",
|
||||
"data": "0x0" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP","QRD","Dragon","Surf", "HDK"],
|
||||
"soc_id": ["339", "340", "361"]
|
||||
},
|
||||
"ccd_walk": {
|
||||
"owner": "sns_ccd",
|
||||
"xct": { "ver": "0","type": "int",
|
||||
"data": "0xA" },
|
||||
"mls": { "ver": "0","type": "int",
|
||||
"data": "0x6" },
|
||||
"mps": { "ver": "0","type": "int",
|
||||
"data": "0x4" },
|
||||
"hmps": { "ver": "0","type": "int",
|
||||
"data": "0x4" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Surf", "RCM", "QRD", "HDK"],
|
||||
"soc_id": ["415", "439", "456"]
|
||||
},
|
||||
"ccd_walk": {
|
||||
"owner": "sns_ccd",
|
||||
"xct": { "ver": "0","type": "int",
|
||||
"data": "0xA" },
|
||||
"mls": { "ver": "0","type": "int",
|
||||
"data": "0x6" },
|
||||
"mps": { "ver": "0","type": "int",
|
||||
"data": "0x4" },
|
||||
"hmps": { "ver": "0","type": "int",
|
||||
"data": "0x4" },
|
||||
"hwln1": { "ver": "0","type": "int",
|
||||
"data": "0xA" },
|
||||
"mwln3": { "ver": "0","type": "int",
|
||||
"data": "0xA" },
|
||||
"hpe0": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"lcb0": { "ver": "0","type": "int",
|
||||
"data": "0xD17E" },
|
||||
"lcb1": { "ver": "0","type": "int",
|
||||
"data": "0x0889" },
|
||||
"lcb2": { "ver": "0","type": "int",
|
||||
"data": "0x16C7" },
|
||||
"lcb3": { "ver": "0","type": "int",
|
||||
"data": "0x0106" },
|
||||
"lcb4": { "ver": "0","type": "int",
|
||||
"data": "0x0324" },
|
||||
"lcb5": { "ver": "0","type": "int",
|
||||
"data": "0x3850" },
|
||||
"lcb6": { "ver": "0","type": "int",
|
||||
"data": "0xfffede4b" },
|
||||
"ltt": { "ver": "0","type": "int",
|
||||
"data": "0xFC9C" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Surf", "RCM", "QRD", "HDK"],
|
||||
"soc_id": ["356"]
|
||||
},
|
||||
"ccd_walk": {
|
||||
"owner": "sns_ccd",
|
||||
"xct": { "ver": "0","type": "int",
|
||||
"data": "0xA" },
|
||||
"mls": { "ver": "0","type": "int",
|
||||
"data": "0x2" },
|
||||
"mps": { "ver": "0","type": "int",
|
||||
"data": "0x4" },
|
||||
"hmps": { "ver": "0","type": "int",
|
||||
"data": "0x2" },
|
||||
"hwln1": { "ver": "0","type": "int",
|
||||
"data": "0xA" },
|
||||
"mwln3": { "ver": "0","type": "int",
|
||||
"data": "0xA" },
|
||||
"hpe0": { "ver": "0","type": "int",
|
||||
"data": "0x1" },
|
||||
"lcb0": { "ver": "0","type": "int",
|
||||
"data": "0xE832" },
|
||||
"lcb1": { "ver": "0","type": "int",
|
||||
"data": "0x3F8" },
|
||||
"lcb2": { "ver": "0","type": "int",
|
||||
"data": "0x8E1" },
|
||||
"lcb3": { "ver": "0","type": "int",
|
||||
"data": "0x37B" },
|
||||
"lcb4": { "ver": "0","type": "int",
|
||||
"data": "0x1E6" },
|
||||
"lcb5": { "ver": "0","type": "int",
|
||||
"data": "0x2ADF" },
|
||||
"lcb6": { "ver": "0","type": "int",
|
||||
"data": "0xF9A" },
|
||||
"ltt": { "ver": "0","type": "int",
|
||||
"data": "0xFCFC" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "347", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_cm":{
|
||||
"owner": "sns_cm",
|
||||
"heap_size":{ "type": "int", "ver": "0",
|
||||
"data": "1572864"
|
||||
},
|
||||
"max_batch_disabled":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"min_batch_period_thrshld_ms":{ "type": "int", "ver": "0",
|
||||
"data": "10"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP","QRD","Dragon","Surf","HDK"],
|
||||
"soc_id": ["339", "361"]
|
||||
},
|
||||
"dae":{
|
||||
"owner": "sns_dae",
|
||||
"use_sdc":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_device_orient_platform": {
|
||||
"owner": "sns_device_orient",
|
||||
".config":{
|
||||
"owner": "sns_device_orient",
|
||||
"param0": {
|
||||
"type": "int", "ver": "0", "data": "4"
|
||||
},
|
||||
"param1": {
|
||||
"type": "flt", "ver": "0", "data": "20.0"
|
||||
},
|
||||
"param2": {
|
||||
"type": "flt", "ver": "0", "data": "0.25"
|
||||
},
|
||||
"param3": {
|
||||
"type": "flt", "ver": "0", "data": "70.0"
|
||||
},
|
||||
"param4": {
|
||||
"type": "flt", "ver": "0", "data": "45.0"
|
||||
},
|
||||
"param5": {
|
||||
"type": "flt", "ver": "0", "data": "3.0"
|
||||
},
|
||||
"param6": {
|
||||
"type": "flt", "ver": "0", "data": "15.0"
|
||||
},
|
||||
"param7": {
|
||||
"type": "int", "ver": "0", "data": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,348 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "IOT"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "347", "355", "360", "361", "352", "365", "366", "393", "394"]
|
||||
},
|
||||
|
||||
"sns_diag_config":
|
||||
{
|
||||
"owner":"diag_filter_sensor",
|
||||
"qdss":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "0"
|
||||
}
|
||||
},
|
||||
|
||||
"sns_diag_sensor_datatype":
|
||||
{
|
||||
"owner":"diag_filter_sensor",
|
||||
|
||||
"geomag_rv":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"game_rv":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"gravity":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"cm":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"accel":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"humidity":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"ambient_temperature":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"sensor_temperature":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"motion_detect":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"gyro":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"ultra_violet":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"pressure":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"mag":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"offbody_detect":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"thermopile":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"ambient_light":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"hall":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"proximity":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"rgb":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"test":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "0"
|
||||
},
|
||||
"flush_test":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "0"
|
||||
},
|
||||
"md_test":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "0"
|
||||
},
|
||||
"da_test":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"amd":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"rmd":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"facing":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"gyro_cal":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"oem1":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"mag_cal":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"resampler":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"smd":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"basic_gestures":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"multishake":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"bring_to_ear":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"cmc":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"dpc":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"distance_bound":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"gyro_rot_matrix":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"fmv":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"rotv":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"pedometer":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"device_orient":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"tilt":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"tilt_to_wake":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"heart_rate":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"ppg":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"wrist_tilt_gesture":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"pedometer_wrist":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"data_acquisition_engine":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"ccd_walk":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"ccd_ttw":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"ccd_hw":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
},
|
||||
"sar":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
}
|
||||
"threshold":
|
||||
{
|
||||
"type" : "int",
|
||||
"ver" : "0",
|
||||
"data" : "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_distance_bound_speed_for_motion_states": {
|
||||
"owner": "sns_distance_bound",
|
||||
"unknown": {"ver": "0","type": "flt","data": "0.0"
|
||||
},
|
||||
"stationary": {"ver": "0","type": "flt","data": "0.0"
|
||||
},
|
||||
"move": {"ver": "0","type": "flt","data": "1.0"
|
||||
},
|
||||
"fiddle": {"ver": "0","type": "flt","data": "0.0"
|
||||
},
|
||||
"pedestrian": {"ver": "0","type": "flt","data": "1.0"
|
||||
},
|
||||
"vehicle": {"ver": "0","type": "flt","data": "16.67"
|
||||
},
|
||||
"walk": {"ver": "0","type": "flt","data": "1.1"
|
||||
},
|
||||
"run": {"ver": "0","type": "flt","data": "2.5"
|
||||
},
|
||||
"bike": {"ver": "0","type": "flt","data": "5.55"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_dpc": {
|
||||
"owner": "sns_dpc",
|
||||
"param1": {
|
||||
"ver": "0", "type": "flt", "data": "0.5"
|
||||
},
|
||||
"param2": {
|
||||
"ver": "0", "type": "flt", "data": "0.02"
|
||||
},
|
||||
"param3": {
|
||||
"ver": "0", "type": "flt", "data": "0.04"
|
||||
},
|
||||
"param4": {
|
||||
"ver": "0", "type": "flt", "data": "7.5"
|
||||
},
|
||||
"param5": {
|
||||
"ver": "0", "type": "flt", "data": "0.1"
|
||||
},
|
||||
"param6": {
|
||||
"ver": "0", "type": "flt", "data": "0.1746"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"config":{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_facing": {
|
||||
"owner": "sns_facing",
|
||||
"angle_threshold": { "type": "flt", "ver": "0",
|
||||
"data": "0.3491"
|
||||
},
|
||||
"report_neutral": { "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"sample_rate": { "type": "flt", "ver": "0",
|
||||
"data": "30.0"
|
||||
},
|
||||
"min_sample_rate": { "type": "flt", "ver": "0",
|
||||
"data": "30.0"
|
||||
},
|
||||
"max_sample_rate": { "type": "flt", "ver": "0",
|
||||
"data": "100.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_fmv_platform": {
|
||||
"owner": "sns_fmv",
|
||||
".config":{
|
||||
"owner": "sns_fmv",
|
||||
"accuracy_unknown": { "type": "int", "ver": "0",
|
||||
"data": "3000"
|
||||
},
|
||||
"accuracy_abs_rest": { "type": "int", "ver": "0",
|
||||
"data": "250"
|
||||
},
|
||||
"accuracy_rel_rest": { "type": "int", "ver": "0",
|
||||
"data": "1500"
|
||||
},
|
||||
"accuracy_motion": { "type": "int", "ver": "0",
|
||||
"data": "3000"
|
||||
},
|
||||
"gyro_gap_thresh": { "type": "int", "ver": "0",
|
||||
"data": "501"
|
||||
},
|
||||
"mag_innov": { "type": "flt", "ver": "0",
|
||||
"data": "9.0"
|
||||
},
|
||||
"mag_sample_gap_fac": { "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"tyro_thresh_for_zupt": { "type": "flt", "ver": "0",
|
||||
"data": "0.001"
|
||||
},
|
||||
"sensor_rpt_rate": { "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"def_sample_rate": { "type": "flt", "ver": "0",
|
||||
"data": "5.0"
|
||||
},
|
||||
"amd_int_cfg_param1": { "type": "flt", "ver": "0",
|
||||
"data": "0.06"
|
||||
},
|
||||
"amd_int_cfg_param2": { "type": "flt", "ver": "0",
|
||||
"data": "0.5"
|
||||
},
|
||||
"amd_int_cfg_param5": { "type": "flt", "ver": "0",
|
||||
"data": "0.16"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "356", "360", "361", "365", "366", "393", "394", "400", "407", "417",
|
||||
"440", "444", "445", "420", "424", "443", "434", "435", "459", "441", "471", "476"]
|
||||
},
|
||||
"sns_fmv_platform": {
|
||||
"owner": "sns_fmv",
|
||||
".config":{
|
||||
"owner": "sns_fmv",
|
||||
"accuracy_unknown": { "type": "int", "ver": "0",
|
||||
"data": "3000"
|
||||
},
|
||||
"accuracy_abs_rest": { "type": "int", "ver": "0",
|
||||
"data": "250"
|
||||
},
|
||||
"accuracy_rel_rest": { "type": "int", "ver": "0",
|
||||
"data": "1500"
|
||||
},
|
||||
"accuracy_motion": { "type": "int", "ver": "0",
|
||||
"data": "3000"
|
||||
},
|
||||
"gyro_gap_thresh": { "type": "int", "ver": "0",
|
||||
"data": "501"
|
||||
},
|
||||
"mag_innov": { "type": "flt", "ver": "0",
|
||||
"data": "9.0"
|
||||
},
|
||||
"mag_sample_gap_fac": { "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"tyro_thresh_for_zupt": { "type": "flt", "ver": "0",
|
||||
"data": "0.001"
|
||||
},
|
||||
"sensor_rpt_rate": { "type": "flt", "ver": "0",
|
||||
"data": "1.0"
|
||||
},
|
||||
"def_sample_rate": { "type": "flt", "ver": "0",
|
||||
"data": "5.0"
|
||||
},
|
||||
"amd_int_cfg_param1": { "type": "flt", "ver": "0",
|
||||
"data": "0.06"
|
||||
},
|
||||
"amd_int_cfg_param2": { "type": "flt", "ver": "0",
|
||||
"data": "0.5"
|
||||
},
|
||||
"amd_int_cfg_param5": { "type": "flt", "ver": "0",
|
||||
"data": "0.16"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_geomag_rv": {
|
||||
"owner": "sns_geomag_rv",
|
||||
".config": {
|
||||
"owner": "sns_geomag_rv",
|
||||
"gamerv_cfg_param1": {"type": "int","ver": "0","data": "300"
|
||||
},
|
||||
"gamerv_cfg_param2": {"type": "int","ver": "0","data": "300"
|
||||
},
|
||||
"fusion_min_samp_rate": {"type": "flt","ver": "0","data": "1.0"
|
||||
},
|
||||
"gamerv_def_rpt_rate": {"type": "flt","ver": "0","data": "1.0"
|
||||
},
|
||||
"gamerv_def_sample_rate": {"type": "flt","ver": "0","data": "5.0"
|
||||
},
|
||||
"amd_int_cfg_param1": {"type": "flt","ver": "0","data": "0.06"
|
||||
},
|
||||
"amd_int_cfg_param2": {"type": "flt","ver": "0","data": "0.5"
|
||||
},
|
||||
"game_rv_c_sys": {"type": "int","ver": "0","data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "347", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_gyro_cal_config": {
|
||||
"owner": "sns_gyro_cal",
|
||||
"calibration_period": {"type": "int","ver": "0",
|
||||
"data": "60"
|
||||
},
|
||||
"num_samples": {"type": "int","ver": "0",
|
||||
"data": "32"
|
||||
},
|
||||
"variance_threshold": {"type": "flt","ver": "0",
|
||||
"data": "0.00025"
|
||||
},
|
||||
"sample_rate": {"type": "flt","ver": "0",
|
||||
"data": "10.0"
|
||||
},
|
||||
"bias_threshold": {"type": "flt","ver": "0",
|
||||
"data": "0.20"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf","QRD","HDK"
|
||||
],
|
||||
"soc_id": ["300" , "301"
|
||||
]
|
||||
},
|
||||
"sns_heart_rate": {
|
||||
"owner": "sns_heart_rate",
|
||||
"sample_rate_ppg":{"ver": "0","type": "flt",
|
||||
"data": "20.0"
|
||||
},
|
||||
"sample_rate_accel":{"ver": "0","type": "flt",
|
||||
"data": "20.0"
|
||||
},
|
||||
"update_flterval_in_fft_samples":{"ver": "0","type": "int",
|
||||
"data": "20.0"
|
||||
},
|
||||
"min_fft_fltervals_for_first_one_shot_update":{"ver": "0","type": "int",
|
||||
"data": "7"
|
||||
},
|
||||
"min_fft_fltervals_for_first_continuous_update":{"ver": "0","type": "int",
|
||||
"data": "7"
|
||||
},
|
||||
"max_bpm_age_for_warm_start":{"ver": "0","type": "int",
|
||||
"data": "3276800"
|
||||
},
|
||||
"max_alpha":{"ver": "0","type": "flt",
|
||||
"data": "1.0"
|
||||
},
|
||||
"min_alpha":{"ver": "0","type": "flt",
|
||||
"data": "0.01"
|
||||
},
|
||||
"min_o_h":{"ver": "0","type": "flt",
|
||||
"data": "0.5"
|
||||
},
|
||||
"max_o_h":{"ver": "0","type": "flt",
|
||||
"data": "0.9"
|
||||
},
|
||||
"max_del_b":{"ver": "0","type": "flt",
|
||||
"data": "10.0"
|
||||
},
|
||||
"acc_peak_distance":{"ver": "0","type": "int",
|
||||
"data": "1"
|
||||
},
|
||||
"ppg_peak_distance":{"ver": "0","type": "int",
|
||||
"data": "2"
|
||||
},
|
||||
"num_ppg_peaks":{"ver": "0","type": "int",
|
||||
"data": "6"
|
||||
},
|
||||
"num_acc_peaks":{"ver": "0","type": "int",
|
||||
"data": "6"
|
||||
},
|
||||
"peak_width_ppg":{"ver": "0","type": "int",
|
||||
"data": "2"
|
||||
},
|
||||
"peak_thresh_ppg":{"ver": "0","type": "flt",
|
||||
"data": "0.1"
|
||||
},
|
||||
"peak_thresh_acc":{"ver": "0","type": "flt",
|
||||
"data": "0.1"
|
||||
},
|
||||
"max_ind_diff":{"ver": "0","type": "int",
|
||||
"data": "10"
|
||||
},
|
||||
"max_acc_thr":{"ver": "0","type": "flt",
|
||||
"data": "80"
|
||||
},
|
||||
"harm_acc_thr":{"ver": "0","type": "flt",
|
||||
"data": "0.6"
|
||||
},
|
||||
"oneshot_max_acc_thr":{"ver": "0","type": "flt",
|
||||
"data": "10.0"
|
||||
},
|
||||
"oneshot_harm_acc_thr":{"ver": "0","type": "flt",
|
||||
"data": "0.4"
|
||||
},
|
||||
"continuous_max_acc_thr":{"ver": "0","type": "flt",
|
||||
"data": "80.0"
|
||||
},
|
||||
"continuous_harm_acc_thr":{"ver": "0","type": "flt",
|
||||
"data": "0.6"
|
||||
},
|
||||
"globalminhr":{"ver": "0","type": "flt",
|
||||
"data": "40.0"
|
||||
},
|
||||
"globalmaxhr":{"ver": "0","type": "flt",
|
||||
"data": "250.0"
|
||||
},
|
||||
"num_samples_to_skip_after_reset":{"ver": "0","type": "int",
|
||||
"data": "40"
|
||||
},
|
||||
"noaccel_thresh":{"ver": "0","type": "flt",
|
||||
"data": "80000.0"
|
||||
},
|
||||
"max_blanked_ppg_segments":{"ver": "0","type": "int",
|
||||
"data": "51"
|
||||
},
|
||||
"min_bad_spread_ratio_for_ppg_blanking":{"ver": "0","type": "flt",
|
||||
"data": "2.3"
|
||||
},
|
||||
"max_blanked_accel_segments":{"ver": "0","type": "int",
|
||||
"data": "0"
|
||||
},
|
||||
"min_bad_spread_ratio_for_accel_blanking":{"ver": "0","type": "flt",
|
||||
"data": "2.3"
|
||||
},
|
||||
"accuracy_decay_alpha":{"ver": "0","type": "flt",
|
||||
"data": "0.98"
|
||||
},
|
||||
"android_accuracy_low_thresh":{"ver": "0","type": "flt",
|
||||
"data": "0.3"
|
||||
},
|
||||
"android_accuracy_high_thresh":{"ver": "0","type": "flt",
|
||||
"data": "0.7"
|
||||
},
|
||||
"android_accuracy_medium_thresh":{"ver": "0","type": "flt",
|
||||
"data": "0.45"
|
||||
},
|
||||
"do_minppg":{"ver": "0","type": "int",
|
||||
"data": "1"
|
||||
},
|
||||
"do_mingoodppgtrack":{"ver": "0","type": "int",
|
||||
"data": "0"
|
||||
},
|
||||
"do_width_harm":{"ver": "0","type": "int",
|
||||
"data": "1"
|
||||
},
|
||||
"do_stride_is_hr_processing":{"ver": "0","type": "int",
|
||||
"data": "0"
|
||||
},
|
||||
"alpha_lowpass":{"ver": "0","type": "flt",
|
||||
"data": "0.27"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_mag_cal_config": {
|
||||
"owner": "sns_mag_cal",
|
||||
"anomaly_threshold": {"type": "flt","ver": "0",
|
||||
"data": "200.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "341", "360", "393"]
|
||||
},
|
||||
"sns_mag_cal_config": {
|
||||
"owner": "sns_mag_cal",
|
||||
"anomaly_threshold": {"type": "flt","ver": "0",
|
||||
"data": "200.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP", "IOT"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_multishake": {
|
||||
"owner": "sns_multishake",
|
||||
"min_shake_period": {
|
||||
"ver": "0", "type": "flt", "data": "0.22"
|
||||
},
|
||||
"max_shake_period": {
|
||||
"ver": "0", "type": "flt", "data": "0.7"
|
||||
},
|
||||
"sleep_time": {
|
||||
"ver": "0", "type": "flt", "data": "0.12"
|
||||
},
|
||||
"shake_thresh": {
|
||||
"ver": "0", "type": "flt", "data": "1.5"
|
||||
},
|
||||
"sample_rate": {
|
||||
"ver": "0", "type": "flt", "data": "100.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_pedometer": {
|
||||
"owner": "sns_pedometer",
|
||||
"param8": {
|
||||
"ver": "0", "type": "flt", "data": "3.0"
|
||||
},
|
||||
"param7": {
|
||||
"ver": "0", "type": "flt", "data": "0.5"
|
||||
},
|
||||
"param6": {
|
||||
"ver": "0", "type": "flt", "data": "4.0"
|
||||
},
|
||||
"param5": {
|
||||
"ver": "0", "type": "flt", "data": "0.2"
|
||||
},
|
||||
"param4": {
|
||||
"ver": "0", "type": "flt", "data": "0.02"
|
||||
},
|
||||
"param3": {
|
||||
"ver": "0", "type": "flt", "data": "0.1"
|
||||
},
|
||||
"param2": {
|
||||
"ver": "0", "type": "flt", "data": "0.5"
|
||||
},
|
||||
"param1": {
|
||||
"ver": "0", "type": "flt", "data": "0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_rmd": {
|
||||
"owner": "sns_rmd",
|
||||
"param4": {
|
||||
"ver": "0", "type": "flt", "data": "0.2"
|
||||
},
|
||||
"param3": {
|
||||
"ver": "0", "type": "flt", "data": "5"
|
||||
},
|
||||
"param2": {
|
||||
"ver": "0", "type": "flt", "data": "0.2"
|
||||
},
|
||||
"param1": {
|
||||
"ver": "0", "type": "flt", "data": "173"
|
||||
},
|
||||
"sample_rate": {
|
||||
"ver": "0", "type": "flt", "data": "30.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_rotv_platform": {
|
||||
"owner": "sns_rotv",
|
||||
".config":{
|
||||
"owner": "sns_rotv",
|
||||
"min_report_rate": {
|
||||
"type": "flt", "ver": "0", "data": "1.0"
|
||||
},
|
||||
"coordinate_sys": {
|
||||
"type": "int", "ver": "0", "data": "0"
|
||||
},
|
||||
"sample_rate": {
|
||||
"type": "flt", "ver": "0", "data": "5.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "300", "301", "305", "321", "336", "339", "341", "355", "360", "361", "365", "366", "393", "347", "394"]
|
||||
},
|
||||
"sns_smd": {
|
||||
"owner": "sns_smd",
|
||||
"sample_rate": {
|
||||
"ver": "0", "type": "flt", "data": "10.0"
|
||||
},
|
||||
"accel_window_time": {
|
||||
"ver": "0", "type": "int", "data": "5"
|
||||
},
|
||||
"detect_threshold": {
|
||||
"ver": "0", "type": "flt", "data": "0.158113883"
|
||||
},
|
||||
"self_transition_prob_sm": {
|
||||
"ver": "0", "type": "flt", "data": "0.9"
|
||||
},
|
||||
"variable_decision_latency": {
|
||||
"ver": "0", "type": "int", "data": "1"
|
||||
},
|
||||
"max_latency": {
|
||||
"ver": "0", "type": "int", "data": "10"
|
||||
},
|
||||
"step_count_thresh": {
|
||||
"ver": "0", "type": "int", "data": "5"
|
||||
},
|
||||
"step_window_time": {
|
||||
"ver": "0", "type": "int", "data": "3"
|
||||
},
|
||||
"eigen_thresh": {
|
||||
"ver": "0", "type": "flt", "data": "6.0"
|
||||
},
|
||||
"accel_norm_std_thresh": {
|
||||
"ver": "0", "type": "flt", "data": "2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "340", "341", "355", "360", "361", "365", "366", "393", "394"]
|
||||
},
|
||||
"sns_tilt": {
|
||||
"owner": "sns_tilt",
|
||||
"sample_rate": {"ver": "0","type": "flt","data": "10.0"
|
||||
},
|
||||
"angle_threshold": {"ver": "0","type": "flt","data": "0.61086524"
|
||||
},
|
||||
"init_accel_window_time": {"ver": "0","type": "flt", "data": "1.0"
|
||||
},
|
||||
"accel_window_time": {"ver": "0","type": "flt", "data": "2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["339", "340", "361"]
|
||||
},
|
||||
"sns_tilt": {
|
||||
"owner": "sns_tilt",
|
||||
"enabled": {"ver": "0","type": "int", "data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "HDK", "IDP", "QRD"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "341", "355", "360", "393", "394"]
|
||||
},
|
||||
"sns_tilt": {
|
||||
"owner": "sns_tilt",
|
||||
"enabled": {"ver": "0","type": "int", "data": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [ "MTP", "Dragon", "Surf", "IDP"
|
||||
],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "339", "355", "360", "361", "365", "366", "393", "394"
|
||||
]
|
||||
},
|
||||
"sns_tilt_to_wake": {
|
||||
"owner": "sns_tilt_to_wake",
|
||||
"accel_sampling_rate":{"ver": "0","type": "flt",
|
||||
"data": "25.0"
|
||||
},
|
||||
"filter_window_seconds":{"ver": "0","type": "flt",
|
||||
"data": "0.16"
|
||||
},
|
||||
"accel_window_seconds":{"ver": "0","type": "flt",
|
||||
"data": "1.1"
|
||||
},
|
||||
"accel_sub_window_seconds":{"ver": "0","type": "flt",
|
||||
"data": "0.55"
|
||||
},
|
||||
"window_for_accel_stability_check_seconds":{"ver": "0","type": "flt",
|
||||
"data": "0.16"
|
||||
},
|
||||
"min_delta_pitch_threshold_deg":{"ver": "0","type": "flt",
|
||||
"data": "45.0"
|
||||
},
|
||||
"min_pitch_threshold_deg":{"ver": "0","type": "flt",
|
||||
"data": "40.0"
|
||||
},
|
||||
"min_abs_delta_z_threshold_deg":{"ver": "0","type": "flt",
|
||||
"data": "10.0"
|
||||
},
|
||||
"max_roll_threshold_deg":{"ver": "0","type": "flt",
|
||||
"data": "25.0"
|
||||
},
|
||||
"max_accel_spread_threshold":{"ver": "0","type": "flt",
|
||||
"data": "4.8"
|
||||
},
|
||||
"max_accel_norm_deviation_from_G_threshold":{"ver": "0","type": "flt",
|
||||
"data": "2.7"
|
||||
},
|
||||
"max_pitch_threshold_deg":{"ver": "0","type": "flt",
|
||||
"data": "200.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"config": {
|
||||
"hw_platform": [
|
||||
"MTP", "Dragon", "Surf", "QRD" ],
|
||||
"soc_id": [
|
||||
"300", "301" ]
|
||||
},
|
||||
"sns_wrist_pedo": {
|
||||
"owner": "sns_wrist_pedo",
|
||||
"default_disable": {
|
||||
"ver": "0", "type": "int", "data": "0"
|
||||
},
|
||||
"sample_rate": {
|
||||
"ver": "0", "type": "flt", "data": "20.0"
|
||||
},
|
||||
"step_count_threshold": {
|
||||
"ver": "0", "type": "int", "data": "0"
|
||||
},
|
||||
"step_threshold": {
|
||||
"ver": "0", "type": "flt", "data": "10.1"
|
||||
},
|
||||
"swing_threshold": {
|
||||
"ver": "0", "type": "flt", "data": "10.5"
|
||||
},
|
||||
"step_prob_threshold": {
|
||||
"ver": "0", "type": "flt", "data": "0.49"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "394"]
|
||||
},
|
||||
"stk3x3x_0":{
|
||||
"owner": "sns_stk3x3x",
|
||||
".ambient_light":{
|
||||
"owner": "sns_stk3x3x",
|
||||
".config":{
|
||||
"owner": "sns_stk3x3x",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".proximity":{
|
||||
"owner": "sns_stk3x3x",
|
||||
".config":{
|
||||
"owner": "sns_stk3x3x",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "355", "394"]
|
||||
},
|
||||
"sx932x_0":{
|
||||
"owner": "sx932x_0",
|
||||
".temp":{
|
||||
"owner": "sx932x_0",
|
||||
".config":{
|
||||
"owner": "sx932x_0",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".sar":{
|
||||
"owner": "sx932x_0",
|
||||
".config":{
|
||||
"owner": "sx932x_0",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["MTP", "Dragon", "Surf", "QRD", "HDK", "INVALID", "IDP"],
|
||||
"soc_id": ["291", "246", "305", "321", "339", "341", "355", "361", "365", "366"]
|
||||
},
|
||||
"tmd2725":{
|
||||
"owner": "sns_tmd2725",
|
||||
".als":{
|
||||
"owner": "sns_tmd2725",
|
||||
".config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".prox":{
|
||||
"owner": "sns_tmd2725",
|
||||
".config":{
|
||||
"owner": "sns_tmd2725",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"config":
|
||||
{
|
||||
"hw_platform": ["QRD", "MTP", "Dragon", "Surf", "HDK"],
|
||||
"soc_id": ["291", "246", "305", "321", "336", "341", "355", "360", "352"]
|
||||
},
|
||||
"tmx4903":{
|
||||
"owner": "sns_tmx4903",
|
||||
".als":{
|
||||
"owner": "sns_tmx4903",
|
||||
".config":{
|
||||
"owner": "sns_tmx4903",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "3"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".prox":{
|
||||
"owner": "sns_tmx4903",
|
||||
".config":{
|
||||
"owner": "sns_tmx4903",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
".rgb":{
|
||||
"owner": "sns_tmx4903",
|
||||
".config":{
|
||||
"owner": "sns_tmx4903",
|
||||
"is_dri":{ "type": "int", "ver": "0",
|
||||
"data": "1"
|
||||
},
|
||||
"hw_id":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
},
|
||||
"res_idx":{ "type": "int", "ver": "0",
|
||||
"data": "2"
|
||||
},
|
||||
"sync_stream":{ "type": "int", "ver": "0",
|
||||
"data": "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
sensors.ssc.so
|
||||
@@ -0,0 +1,885 @@
|
||||
// Protocol Buffers - Google's data interchange format
|
||||
// Copyright 2008 Google Inc. All rights reserved.
|
||||
// https://developers.google.com/protocol-buffers/
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
// met:
|
||||
//
|
||||
// * Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// * Redistributions in binary form must reproduce the above
|
||||
// copyright notice, this list of conditions and the following disclaimer
|
||||
// in the documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
// * Neither the name of Google Inc. nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Author: kenton@google.com (Kenton Varda)
|
||||
// Based on original Protocol Buffers design by
|
||||
// Sanjay Ghemawat, Jeff Dean, and others.
|
||||
//
|
||||
// The messages in this file describe the definitions found in .proto files.
|
||||
// A valid .proto file can be translated directly to a FileDescriptorProto
|
||||
// without any other information (e.g. without reading its imports).
|
||||
|
||||
|
||||
syntax = "proto2";
|
||||
|
||||
package google.protobuf;
|
||||
|
||||
option go_package = "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor";
|
||||
option java_package = "com.google.protobuf";
|
||||
option java_outer_classname = "DescriptorProtos";
|
||||
option csharp_namespace = "Google.Protobuf.Reflection";
|
||||
option objc_class_prefix = "GPB";
|
||||
option cc_enable_arenas = true;
|
||||
|
||||
// descriptor.proto must be optimized for speed because reflection-based
|
||||
// algorithms don't work during bootstrapping.
|
||||
option optimize_for = SPEED;
|
||||
|
||||
// The protocol compiler can output a FileDescriptorSet containing the .proto
|
||||
// files it parses.
|
||||
message FileDescriptorSet {
|
||||
repeated FileDescriptorProto file = 1;
|
||||
}
|
||||
|
||||
// Describes a complete .proto file.
|
||||
message FileDescriptorProto {
|
||||
optional string name = 1; // file name, relative to root of source tree
|
||||
optional string package = 2; // e.g. "foo", "foo.bar", etc.
|
||||
|
||||
// Names of files imported by this file.
|
||||
repeated string dependency = 3;
|
||||
// Indexes of the public imported files in the dependency list above.
|
||||
repeated int32 public_dependency = 10;
|
||||
// Indexes of the weak imported files in the dependency list.
|
||||
// For Google-internal migration only. Do not use.
|
||||
repeated int32 weak_dependency = 11;
|
||||
|
||||
// All top-level definitions in this file.
|
||||
repeated DescriptorProto message_type = 4;
|
||||
repeated EnumDescriptorProto enum_type = 5;
|
||||
repeated ServiceDescriptorProto service = 6;
|
||||
repeated FieldDescriptorProto extension = 7;
|
||||
|
||||
optional FileOptions options = 8;
|
||||
|
||||
// This field contains optional information about the original source code.
|
||||
// You may safely remove this entire field without harming runtime
|
||||
// functionality of the descriptors -- the information is needed only by
|
||||
// development tools.
|
||||
optional SourceCodeInfo source_code_info = 9;
|
||||
|
||||
// The syntax of the proto file.
|
||||
// The supported values are "proto2" and "proto3".
|
||||
optional string syntax = 12;
|
||||
}
|
||||
|
||||
// Describes a message type.
|
||||
message DescriptorProto {
|
||||
optional string name = 1;
|
||||
|
||||
repeated FieldDescriptorProto field = 2;
|
||||
repeated FieldDescriptorProto extension = 6;
|
||||
|
||||
repeated DescriptorProto nested_type = 3;
|
||||
repeated EnumDescriptorProto enum_type = 4;
|
||||
|
||||
message ExtensionRange {
|
||||
optional int32 start = 1; // Inclusive.
|
||||
optional int32 end = 2; // Exclusive.
|
||||
|
||||
optional ExtensionRangeOptions options = 3;
|
||||
}
|
||||
repeated ExtensionRange extension_range = 5;
|
||||
|
||||
repeated OneofDescriptorProto oneof_decl = 8;
|
||||
|
||||
optional MessageOptions options = 7;
|
||||
|
||||
// Range of reserved tag numbers. Reserved tag numbers may not be used by
|
||||
// fields or extension ranges in the same message. Reserved ranges may
|
||||
// not overlap.
|
||||
message ReservedRange {
|
||||
optional int32 start = 1; // Inclusive.
|
||||
optional int32 end = 2; // Exclusive.
|
||||
}
|
||||
repeated ReservedRange reserved_range = 9;
|
||||
// Reserved field names, which may not be used by fields in the same message.
|
||||
// A given name may only be reserved once.
|
||||
repeated string reserved_name = 10;
|
||||
}
|
||||
|
||||
message ExtensionRangeOptions {
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
}
|
||||
|
||||
// Describes a field within a message.
|
||||
message FieldDescriptorProto {
|
||||
enum Type {
|
||||
// 0 is reserved for errors.
|
||||
// Order is weird for historical reasons.
|
||||
TYPE_DOUBLE = 1;
|
||||
TYPE_FLOAT = 2;
|
||||
// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
||||
// negative values are likely.
|
||||
TYPE_INT64 = 3;
|
||||
TYPE_UINT64 = 4;
|
||||
// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
||||
// negative values are likely.
|
||||
TYPE_INT32 = 5;
|
||||
TYPE_FIXED64 = 6;
|
||||
TYPE_FIXED32 = 7;
|
||||
TYPE_BOOL = 8;
|
||||
TYPE_STRING = 9;
|
||||
// Tag-delimited aggregate.
|
||||
// Group type is deprecated and not supported in proto3. However, Proto3
|
||||
// implementations should still be able to parse the group wire format and
|
||||
// treat group fields as unknown fields.
|
||||
TYPE_GROUP = 10;
|
||||
TYPE_MESSAGE = 11; // Length-delimited aggregate.
|
||||
|
||||
// New in version 2.
|
||||
TYPE_BYTES = 12;
|
||||
TYPE_UINT32 = 13;
|
||||
TYPE_ENUM = 14;
|
||||
TYPE_SFIXED32 = 15;
|
||||
TYPE_SFIXED64 = 16;
|
||||
TYPE_SINT32 = 17; // Uses ZigZag encoding.
|
||||
TYPE_SINT64 = 18; // Uses ZigZag encoding.
|
||||
}
|
||||
|
||||
enum Label {
|
||||
// 0 is reserved for errors
|
||||
LABEL_OPTIONAL = 1;
|
||||
LABEL_REQUIRED = 2;
|
||||
LABEL_REPEATED = 3;
|
||||
}
|
||||
|
||||
optional string name = 1;
|
||||
optional int32 number = 3;
|
||||
optional Label label = 4;
|
||||
|
||||
// If type_name is set, this need not be set. If both this and type_name
|
||||
// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
||||
optional Type type = 5;
|
||||
|
||||
// For message and enum types, this is the name of the type. If the name
|
||||
// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
||||
// rules are used to find the type (i.e. first the nested types within this
|
||||
// message are searched, then within the parent, on up to the root
|
||||
// namespace).
|
||||
optional string type_name = 6;
|
||||
|
||||
// For extensions, this is the name of the type being extended. It is
|
||||
// resolved in the same manner as type_name.
|
||||
optional string extendee = 2;
|
||||
|
||||
// For numeric types, contains the original text representation of the value.
|
||||
// For booleans, "true" or "false".
|
||||
// For strings, contains the default text contents (not escaped in any way).
|
||||
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
||||
// TODO(kenton): Base-64 encode?
|
||||
optional string default_value = 7;
|
||||
|
||||
// If set, gives the index of a oneof in the containing type's oneof_decl
|
||||
// list. This field is a member of that oneof.
|
||||
optional int32 oneof_index = 9;
|
||||
|
||||
// JSON name of this field. The value is set by protocol compiler. If the
|
||||
// user has set a "json_name" option on this field, that option's value
|
||||
// will be used. Otherwise, it's deduced from the field's name by converting
|
||||
// it to camelCase.
|
||||
optional string json_name = 10;
|
||||
|
||||
optional FieldOptions options = 8;
|
||||
}
|
||||
|
||||
// Describes a oneof.
|
||||
message OneofDescriptorProto {
|
||||
optional string name = 1;
|
||||
optional OneofOptions options = 2;
|
||||
}
|
||||
|
||||
// Describes an enum type.
|
||||
message EnumDescriptorProto {
|
||||
optional string name = 1;
|
||||
|
||||
repeated EnumValueDescriptorProto value = 2;
|
||||
|
||||
optional EnumOptions options = 3;
|
||||
|
||||
// Range of reserved numeric values. Reserved values may not be used by
|
||||
// entries in the same enum. Reserved ranges may not overlap.
|
||||
//
|
||||
// Note that this is distinct from DescriptorProto.ReservedRange in that it
|
||||
// is inclusive such that it can appropriately represent the entire int32
|
||||
// domain.
|
||||
message EnumReservedRange {
|
||||
optional int32 start = 1; // Inclusive.
|
||||
optional int32 end = 2; // Inclusive.
|
||||
}
|
||||
|
||||
// Range of reserved numeric values. Reserved numeric values may not be used
|
||||
// by enum values in the same enum declaration. Reserved ranges may not
|
||||
// overlap.
|
||||
repeated EnumReservedRange reserved_range = 4;
|
||||
|
||||
// Reserved enum value names, which may not be reused. A given name may only
|
||||
// be reserved once.
|
||||
repeated string reserved_name = 5;
|
||||
}
|
||||
|
||||
// Describes a value within an enum.
|
||||
message EnumValueDescriptorProto {
|
||||
optional string name = 1;
|
||||
optional int32 number = 2;
|
||||
|
||||
optional EnumValueOptions options = 3;
|
||||
}
|
||||
|
||||
// Describes a service.
|
||||
message ServiceDescriptorProto {
|
||||
optional string name = 1;
|
||||
repeated MethodDescriptorProto method = 2;
|
||||
|
||||
optional ServiceOptions options = 3;
|
||||
}
|
||||
|
||||
// Describes a method of a service.
|
||||
message MethodDescriptorProto {
|
||||
optional string name = 1;
|
||||
|
||||
// Input and output type names. These are resolved in the same way as
|
||||
// FieldDescriptorProto.type_name, but must refer to a message type.
|
||||
optional string input_type = 2;
|
||||
optional string output_type = 3;
|
||||
|
||||
optional MethodOptions options = 4;
|
||||
|
||||
// Identifies if client streams multiple client messages
|
||||
optional bool client_streaming = 5 [default = false];
|
||||
// Identifies if server streams multiple server messages
|
||||
optional bool server_streaming = 6 [default = false];
|
||||
}
|
||||
|
||||
|
||||
// ===================================================================
|
||||
// Options
|
||||
|
||||
// Each of the definitions above may have "options" attached. These are
|
||||
// just annotations which may cause code to be generated slightly differently
|
||||
// or may contain hints for code that manipulates protocol messages.
|
||||
//
|
||||
// Clients may define custom options as extensions of the *Options messages.
|
||||
// These extensions may not yet be known at parsing time, so the parser cannot
|
||||
// store the values in them. Instead it stores them in a field in the *Options
|
||||
// message called uninterpreted_option. This field must have the same name
|
||||
// across all *Options messages. We then use this field to populate the
|
||||
// extensions when we build a descriptor, at which point all protos have been
|
||||
// parsed and so all extensions are known.
|
||||
//
|
||||
// Extension numbers for custom options may be chosen as follows:
|
||||
// * For options which will only be used within a single application or
|
||||
// organization, or for experimental options, use field numbers 50000
|
||||
// through 99999. It is up to you to ensure that you do not use the
|
||||
// same number for multiple options.
|
||||
// * For options which will be published and used publicly by multiple
|
||||
// independent entities, e-mail protobuf-global-extension-registry@google.com
|
||||
// to reserve extension numbers. Simply provide your project name (e.g.
|
||||
// Objective-C plugin) and your project website (if available) -- there's no
|
||||
// need to explain how you intend to use them. Usually you only need one
|
||||
// extension number. You can declare multiple options with only one extension
|
||||
// number by putting them in a sub-message. See the Custom Options section of
|
||||
// the docs for examples:
|
||||
// https://developers.google.com/protocol-buffers/docs/proto#options
|
||||
// If this turns out to be popular, a web service will be set up
|
||||
// to automatically assign option numbers.
|
||||
|
||||
message FileOptions {
|
||||
|
||||
// Sets the Java package where classes generated from this .proto will be
|
||||
// placed. By default, the proto package is used, but this is often
|
||||
// inappropriate because proto packages do not normally start with backwards
|
||||
// domain names.
|
||||
optional string java_package = 1;
|
||||
|
||||
|
||||
// If set, all the classes from the .proto file are wrapped in a single
|
||||
// outer class with the given name. This applies to both Proto1
|
||||
// (equivalent to the old "--one_java_file" option) and Proto2 (where
|
||||
// a .proto always translates to a single class, but you may want to
|
||||
// explicitly choose the class name).
|
||||
optional string java_outer_classname = 8;
|
||||
|
||||
// If set true, then the Java code generator will generate a separate .java
|
||||
// file for each top-level message, enum, and service defined in the .proto
|
||||
// file. Thus, these types will *not* be nested inside the outer class
|
||||
// named by java_outer_classname. However, the outer class will still be
|
||||
// generated to contain the file's getDescriptor() method as well as any
|
||||
// top-level extensions defined in the file.
|
||||
optional bool java_multiple_files = 10 [default = false];
|
||||
|
||||
// This option does nothing.
|
||||
optional bool java_generate_equals_and_hash = 20 [deprecated=true];
|
||||
|
||||
// If set true, then the Java2 code generator will generate code that
|
||||
// throws an exception whenever an attempt is made to assign a non-UTF-8
|
||||
// byte sequence to a string field.
|
||||
// Message reflection will do the same.
|
||||
// However, an extension field still accepts non-UTF-8 byte sequences.
|
||||
// This option has no effect on when used with the lite runtime.
|
||||
optional bool java_string_check_utf8 = 27 [default = false];
|
||||
|
||||
|
||||
// Generated classes can be optimized for speed or code size.
|
||||
enum OptimizeMode {
|
||||
SPEED = 1; // Generate complete code for parsing, serialization,
|
||||
// etc.
|
||||
CODE_SIZE = 2; // Use ReflectionOps to implement these methods.
|
||||
LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime.
|
||||
}
|
||||
optional OptimizeMode optimize_for = 9 [default = SPEED];
|
||||
|
||||
// Sets the Go package where structs generated from this .proto will be
|
||||
// placed. If omitted, the Go package will be derived from the following:
|
||||
// - The basename of the package import path, if provided.
|
||||
// - Otherwise, the package statement in the .proto file, if present.
|
||||
// - Otherwise, the basename of the .proto file, without extension.
|
||||
optional string go_package = 11;
|
||||
|
||||
|
||||
|
||||
|
||||
// Should generic services be generated in each language? "Generic" services
|
||||
// are not specific to any particular RPC system. They are generated by the
|
||||
// main code generators in each language (without additional plugins).
|
||||
// Generic services were the only kind of service generation supported by
|
||||
// early versions of google.protobuf.
|
||||
//
|
||||
// Generic services are now considered deprecated in favor of using plugins
|
||||
// that generate code specific to your particular RPC system. Therefore,
|
||||
// these default to false. Old code which depends on generic services should
|
||||
// explicitly set them to true.
|
||||
optional bool cc_generic_services = 16 [default = false];
|
||||
optional bool java_generic_services = 17 [default = false];
|
||||
optional bool py_generic_services = 18 [default = false];
|
||||
optional bool php_generic_services = 42 [default = false];
|
||||
|
||||
// Is this file deprecated?
|
||||
// Depending on the target platform, this can emit Deprecated annotations
|
||||
// for everything in the file, or it will be completely ignored; in the very
|
||||
// least, this is a formalization for deprecating files.
|
||||
optional bool deprecated = 23 [default = false];
|
||||
|
||||
// Enables the use of arenas for the proto messages in this file. This applies
|
||||
// only to generated classes for C++.
|
||||
optional bool cc_enable_arenas = 31 [default = false];
|
||||
|
||||
|
||||
// Sets the objective c class prefix which is prepended to all objective c
|
||||
// generated classes from this .proto. There is no default.
|
||||
optional string objc_class_prefix = 36;
|
||||
|
||||
// Namespace for generated classes; defaults to the package.
|
||||
optional string csharp_namespace = 37;
|
||||
|
||||
// By default Swift generators will take the proto package and CamelCase it
|
||||
// replacing '.' with underscore and use that to prefix the types/symbols
|
||||
// defined. When this options is provided, they will use this value instead
|
||||
// to prefix the types/symbols defined.
|
||||
optional string swift_prefix = 39;
|
||||
|
||||
// Sets the php class prefix which is prepended to all php generated classes
|
||||
// from this .proto. Default is empty.
|
||||
optional string php_class_prefix = 40;
|
||||
|
||||
// Use this option to change the namespace of php generated classes. Default
|
||||
// is empty. When this option is empty, the package name will be used for
|
||||
// determining the namespace.
|
||||
optional string php_namespace = 41;
|
||||
|
||||
// Use this option to change the namespace of php generated metadata classes.
|
||||
// Default is empty. When this option is empty, the proto file name will be
|
||||
// used for determining the namespace.
|
||||
optional string php_metadata_namespace = 44;
|
||||
|
||||
// Use this option to change the package of ruby generated classes. Default
|
||||
// is empty. When this option is not set, the package name will be used for
|
||||
// determining the ruby package.
|
||||
optional string ruby_package = 45;
|
||||
|
||||
|
||||
// The parser stores options it doesn't recognize here.
|
||||
// See the documentation for the "Options" section above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message.
|
||||
// See the documentation for the "Options" section above.
|
||||
extensions 1000 to max;
|
||||
|
||||
reserved 38;
|
||||
}
|
||||
|
||||
message MessageOptions {
|
||||
// Set true to use the old proto1 MessageSet wire format for extensions.
|
||||
// This is provided for backwards-compatibility with the MessageSet wire
|
||||
// format. You should not use this for any other reason: It's less
|
||||
// efficient, has fewer features, and is more complicated.
|
||||
//
|
||||
// The message must be defined exactly as follows:
|
||||
// message Foo {
|
||||
// option message_set_wire_format = true;
|
||||
// extensions 4 to max;
|
||||
// }
|
||||
// Note that the message cannot have any defined fields; MessageSets only
|
||||
// have extensions.
|
||||
//
|
||||
// All extensions of your type must be singular messages; e.g. they cannot
|
||||
// be int32s, enums, or repeated messages.
|
||||
//
|
||||
// Because this is an option, the above two restrictions are not enforced by
|
||||
// the protocol compiler.
|
||||
optional bool message_set_wire_format = 1 [default = false];
|
||||
|
||||
// Disables the generation of the standard "descriptor()" accessor, which can
|
||||
// conflict with a field of the same name. This is meant to make migration
|
||||
// from proto1 easier; new code should avoid fields named "descriptor".
|
||||
optional bool no_standard_descriptor_accessor = 2 [default = false];
|
||||
|
||||
// Is this message deprecated?
|
||||
// Depending on the target platform, this can emit Deprecated annotations
|
||||
// for the message, or it will be completely ignored; in the very least,
|
||||
// this is a formalization for deprecating messages.
|
||||
optional bool deprecated = 3 [default = false];
|
||||
|
||||
// Whether the message is an automatically generated map entry type for the
|
||||
// maps field.
|
||||
//
|
||||
// For maps fields:
|
||||
// map<KeyType, ValueType> map_field = 1;
|
||||
// The parsed descriptor looks like:
|
||||
// message MapFieldEntry {
|
||||
// option map_entry = true;
|
||||
// optional KeyType key = 1;
|
||||
// optional ValueType value = 2;
|
||||
// }
|
||||
// repeated MapFieldEntry map_field = 1;
|
||||
//
|
||||
// Implementations may choose not to generate the map_entry=true message, but
|
||||
// use a native map in the target language to hold the keys and values.
|
||||
// The reflection APIs in such implementations still need to work as
|
||||
// if the field is a repeated message field.
|
||||
//
|
||||
// NOTE: Do not set the option in .proto files. Always use the maps syntax
|
||||
// instead. The option should only be implicitly set by the proto compiler
|
||||
// parser.
|
||||
optional bool map_entry = 7;
|
||||
|
||||
reserved 8; // javalite_serializable
|
||||
reserved 9; // javanano_as_lite
|
||||
|
||||
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
}
|
||||
|
||||
message FieldOptions {
|
||||
// The ctype option instructs the C++ code generator to use a different
|
||||
// representation of the field than it normally would. See the specific
|
||||
// options below. This option is not yet implemented in the open source
|
||||
// release -- sorry, we'll try to include it in a future version!
|
||||
optional CType ctype = 1 [default = STRING];
|
||||
enum CType {
|
||||
// Default mode.
|
||||
STRING = 0;
|
||||
|
||||
CORD = 1;
|
||||
|
||||
STRING_PIECE = 2;
|
||||
}
|
||||
// The packed option can be enabled for repeated primitive fields to enable
|
||||
// a more efficient representation on the wire. Rather than repeatedly
|
||||
// writing the tag and type for each element, the entire array is encoded as
|
||||
// a single length-delimited blob. In proto3, only explicit setting it to
|
||||
// false will avoid using packed encoding.
|
||||
optional bool packed = 2;
|
||||
|
||||
// The jstype option determines the JavaScript type used for values of the
|
||||
// field. The option is permitted only for 64 bit integral and fixed types
|
||||
// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
|
||||
// is represented as JavaScript string, which avoids loss of precision that
|
||||
// can happen when a large value is converted to a floating point JavaScript.
|
||||
// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
|
||||
// use the JavaScript "number" type. The behavior of the default option
|
||||
// JS_NORMAL is implementation dependent.
|
||||
//
|
||||
// This option is an enum to permit additional types to be added, e.g.
|
||||
// goog.math.Integer.
|
||||
optional JSType jstype = 6 [default = JS_NORMAL];
|
||||
enum JSType {
|
||||
// Use the default type.
|
||||
JS_NORMAL = 0;
|
||||
|
||||
// Use JavaScript strings.
|
||||
JS_STRING = 1;
|
||||
|
||||
// Use JavaScript numbers.
|
||||
JS_NUMBER = 2;
|
||||
}
|
||||
|
||||
// Should this field be parsed lazily? Lazy applies only to message-type
|
||||
// fields. It means that when the outer message is initially parsed, the
|
||||
// inner message's contents will not be parsed but instead stored in encoded
|
||||
// form. The inner message will actually be parsed when it is first accessed.
|
||||
//
|
||||
// This is only a hint. Implementations are free to choose whether to use
|
||||
// eager or lazy parsing regardless of the value of this option. However,
|
||||
// setting this option true suggests that the protocol author believes that
|
||||
// using lazy parsing on this field is worth the additional bookkeeping
|
||||
// overhead typically needed to implement it.
|
||||
//
|
||||
// This option does not affect the public interface of any generated code;
|
||||
// all method signatures remain the same. Furthermore, thread-safety of the
|
||||
// interface is not affected by this option; const methods remain safe to
|
||||
// call from multiple threads concurrently, while non-const methods continue
|
||||
// to require exclusive access.
|
||||
//
|
||||
//
|
||||
// Note that implementations may choose not to check required fields within
|
||||
// a lazy sub-message. That is, calling IsInitialized() on the outer message
|
||||
// may return true even if the inner message has missing required fields.
|
||||
// This is necessary because otherwise the inner message would have to be
|
||||
// parsed in order to perform the check, defeating the purpose of lazy
|
||||
// parsing. An implementation which chooses not to check required fields
|
||||
// must be consistent about it. That is, for any particular sub-message, the
|
||||
// implementation must either *always* check its required fields, or *never*
|
||||
// check its required fields, regardless of whether or not the message has
|
||||
// been parsed.
|
||||
optional bool lazy = 5 [default = false];
|
||||
|
||||
// Is this field deprecated?
|
||||
// Depending on the target platform, this can emit Deprecated annotations
|
||||
// for accessors, or it will be completely ignored; in the very least, this
|
||||
// is a formalization for deprecating fields.
|
||||
optional bool deprecated = 3 [default = false];
|
||||
|
||||
// For Google-internal migration only. Do not use.
|
||||
optional bool weak = 10 [default = false];
|
||||
|
||||
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
|
||||
reserved 4; // removed jtype
|
||||
}
|
||||
|
||||
message OneofOptions {
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
}
|
||||
|
||||
message EnumOptions {
|
||||
|
||||
// Set this option to true to allow mapping different tag names to the same
|
||||
// value.
|
||||
optional bool allow_alias = 2;
|
||||
|
||||
// Is this enum deprecated?
|
||||
// Depending on the target platform, this can emit Deprecated annotations
|
||||
// for the enum, or it will be completely ignored; in the very least, this
|
||||
// is a formalization for deprecating enums.
|
||||
optional bool deprecated = 3 [default = false];
|
||||
|
||||
reserved 5; // javanano_as_lite
|
||||
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
}
|
||||
|
||||
message EnumValueOptions {
|
||||
// Is this enum value deprecated?
|
||||
// Depending on the target platform, this can emit Deprecated annotations
|
||||
// for the enum value, or it will be completely ignored; in the very least,
|
||||
// this is a formalization for deprecating enum values.
|
||||
optional bool deprecated = 1 [default = false];
|
||||
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
}
|
||||
|
||||
message ServiceOptions {
|
||||
|
||||
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
|
||||
// framework. We apologize for hoarding these numbers to ourselves, but
|
||||
// we were already using them long before we decided to release Protocol
|
||||
// Buffers.
|
||||
|
||||
// Is this service deprecated?
|
||||
// Depending on the target platform, this can emit Deprecated annotations
|
||||
// for the service, or it will be completely ignored; in the very least,
|
||||
// this is a formalization for deprecating services.
|
||||
optional bool deprecated = 33 [default = false];
|
||||
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
}
|
||||
|
||||
message MethodOptions {
|
||||
|
||||
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
|
||||
// framework. We apologize for hoarding these numbers to ourselves, but
|
||||
// we were already using them long before we decided to release Protocol
|
||||
// Buffers.
|
||||
|
||||
// Is this method deprecated?
|
||||
// Depending on the target platform, this can emit Deprecated annotations
|
||||
// for the method, or it will be completely ignored; in the very least,
|
||||
// this is a formalization for deprecating methods.
|
||||
optional bool deprecated = 33 [default = false];
|
||||
|
||||
// Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
||||
// or neither? HTTP based RPC implementation may choose GET verb for safe
|
||||
// methods, and PUT verb for idempotent methods instead of the default POST.
|
||||
enum IdempotencyLevel {
|
||||
IDEMPOTENCY_UNKNOWN = 0;
|
||||
NO_SIDE_EFFECTS = 1; // implies idempotent
|
||||
IDEMPOTENT = 2; // idempotent, but may have side effects
|
||||
}
|
||||
optional IdempotencyLevel idempotency_level = 34
|
||||
[default = IDEMPOTENCY_UNKNOWN];
|
||||
|
||||
// The parser stores options it doesn't recognize here. See above.
|
||||
repeated UninterpretedOption uninterpreted_option = 999;
|
||||
|
||||
// Clients can define custom options in extensions of this message. See above.
|
||||
extensions 1000 to max;
|
||||
}
|
||||
|
||||
|
||||
// A message representing a option the parser does not recognize. This only
|
||||
// appears in options protos created by the compiler::Parser class.
|
||||
// DescriptorPool resolves these when building Descriptor objects. Therefore,
|
||||
// options protos in descriptor objects (e.g. returned by Descriptor::options(),
|
||||
// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
|
||||
// in them.
|
||||
message UninterpretedOption {
|
||||
// The name of the uninterpreted option. Each string represents a segment in
|
||||
// a dot-separated name. is_extension is true iff a segment represents an
|
||||
// extension (denoted with parentheses in options specs in .proto files).
|
||||
// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
|
||||
// "foo.(bar.baz).qux".
|
||||
message NamePart {
|
||||
required string name_part = 1;
|
||||
required bool is_extension = 2;
|
||||
}
|
||||
repeated NamePart name = 2;
|
||||
|
||||
// The value of the uninterpreted option, in whatever type the tokenizer
|
||||
// identified it as during parsing. Exactly one of these should be set.
|
||||
optional string identifier_value = 3;
|
||||
optional uint64 positive_int_value = 4;
|
||||
optional int64 negative_int_value = 5;
|
||||
optional double double_value = 6;
|
||||
optional bytes string_value = 7;
|
||||
optional string aggregate_value = 8;
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
// Optional source code info
|
||||
|
||||
// Encapsulates information about the original source file from which a
|
||||
// FileDescriptorProto was generated.
|
||||
message SourceCodeInfo {
|
||||
// A Location identifies a piece of source code in a .proto file which
|
||||
// corresponds to a particular definition. This information is intended
|
||||
// to be useful to IDEs, code indexers, documentation generators, and similar
|
||||
// tools.
|
||||
//
|
||||
// For example, say we have a file like:
|
||||
// message Foo {
|
||||
// optional string foo = 1;
|
||||
// }
|
||||
// Let's look at just the field definition:
|
||||
// optional string foo = 1;
|
||||
// ^ ^^ ^^ ^ ^^^
|
||||
// a bc de f ghi
|
||||
// We have the following locations:
|
||||
// span path represents
|
||||
// [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
||||
// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
||||
// [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
||||
// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
||||
// [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
||||
//
|
||||
// Notes:
|
||||
// - A location may refer to a repeated field itself (i.e. not to any
|
||||
// particular index within it). This is used whenever a set of elements are
|
||||
// logically enclosed in a single code segment. For example, an entire
|
||||
// extend block (possibly containing multiple extension definitions) will
|
||||
// have an outer location whose path refers to the "extensions" repeated
|
||||
// field without an index.
|
||||
// - Multiple locations may have the same path. This happens when a single
|
||||
// logical declaration is spread out across multiple places. The most
|
||||
// obvious example is the "extend" block again -- there may be multiple
|
||||
// extend blocks in the same scope, each of which will have the same path.
|
||||
// - A location's span is not always a subset of its parent's span. For
|
||||
// example, the "extendee" of an extension declaration appears at the
|
||||
// beginning of the "extend" block and is shared by all extensions within
|
||||
// the block.
|
||||
// - Just because a location's span is a subset of some other location's span
|
||||
// does not mean that it is a descendant. For example, a "group" defines
|
||||
// both a type and a field in a single declaration. Thus, the locations
|
||||
// corresponding to the type and field and their components will overlap.
|
||||
// - Code which tries to interpret locations should probably be designed to
|
||||
// ignore those that it doesn't understand, as more types of locations could
|
||||
// be recorded in the future.
|
||||
repeated Location location = 1;
|
||||
message Location {
|
||||
// Identifies which part of the FileDescriptorProto was defined at this
|
||||
// location.
|
||||
//
|
||||
// Each element is a field number or an index. They form a path from
|
||||
// the root FileDescriptorProto to the place where the definition. For
|
||||
// example, this path:
|
||||
// [ 4, 3, 2, 7, 1 ]
|
||||
// refers to:
|
||||
// file.message_type(3) // 4, 3
|
||||
// .field(7) // 2, 7
|
||||
// .name() // 1
|
||||
// This is because FileDescriptorProto.message_type has field number 4:
|
||||
// repeated DescriptorProto message_type = 4;
|
||||
// and DescriptorProto.field has field number 2:
|
||||
// repeated FieldDescriptorProto field = 2;
|
||||
// and FieldDescriptorProto.name has field number 1:
|
||||
// optional string name = 1;
|
||||
//
|
||||
// Thus, the above path gives the location of a field name. If we removed
|
||||
// the last element:
|
||||
// [ 4, 3, 2, 7 ]
|
||||
// this path refers to the whole field declaration (from the beginning
|
||||
// of the label to the terminating semicolon).
|
||||
repeated int32 path = 1 [packed = true];
|
||||
|
||||
// Always has exactly three or four elements: start line, start column,
|
||||
// end line (optional, otherwise assumed same as start line), end column.
|
||||
// These are packed into a single field for efficiency. Note that line
|
||||
// and column numbers are zero-based -- typically you will want to add
|
||||
// 1 to each before displaying to a user.
|
||||
repeated int32 span = 2 [packed = true];
|
||||
|
||||
// If this SourceCodeInfo represents a complete declaration, these are any
|
||||
// comments appearing before and after the declaration which appear to be
|
||||
// attached to the declaration.
|
||||
//
|
||||
// A series of line comments appearing on consecutive lines, with no other
|
||||
// tokens appearing on those lines, will be treated as a single comment.
|
||||
//
|
||||
// leading_detached_comments will keep paragraphs of comments that appear
|
||||
// before (but not connected to) the current element. Each paragraph,
|
||||
// separated by empty lines, will be one comment element in the repeated
|
||||
// field.
|
||||
//
|
||||
// Only the comment content is provided; comment markers (e.g. //) are
|
||||
// stripped out. For block comments, leading whitespace and an asterisk
|
||||
// will be stripped from the beginning of each line other than the first.
|
||||
// Newlines are included in the output.
|
||||
//
|
||||
// Examples:
|
||||
//
|
||||
// optional int32 foo = 1; // Comment attached to foo.
|
||||
// // Comment attached to bar.
|
||||
// optional int32 bar = 2;
|
||||
//
|
||||
// optional string baz = 3;
|
||||
// // Comment attached to baz.
|
||||
// // Another line attached to baz.
|
||||
//
|
||||
// // Comment attached to qux.
|
||||
// //
|
||||
// // Another line attached to qux.
|
||||
// optional double qux = 4;
|
||||
//
|
||||
// // Detached comment for corge. This is not leading or trailing comments
|
||||
// // to qux or corge because there are blank lines separating it from
|
||||
// // both.
|
||||
//
|
||||
// // Detached comment for corge paragraph 2.
|
||||
//
|
||||
// optional string corge = 5;
|
||||
// /* Block comment attached
|
||||
// * to corge. Leading asterisks
|
||||
// * will be removed. */
|
||||
// /* Block comment attached to
|
||||
// * grault. */
|
||||
// optional int32 grault = 6;
|
||||
//
|
||||
// // ignored detached comments.
|
||||
optional string leading_comments = 3;
|
||||
optional string trailing_comments = 4;
|
||||
repeated string leading_detached_comments = 6;
|
||||
}
|
||||
}
|
||||
|
||||
// Describes the relationship between generated code and its original source
|
||||
// file. A GeneratedCodeInfo message is associated with only one generated
|
||||
// source file, but may contain references to different source .proto files.
|
||||
message GeneratedCodeInfo {
|
||||
// An Annotation connects some span of text in generated code to an element
|
||||
// of its generating .proto file.
|
||||
repeated Annotation annotation = 1;
|
||||
message Annotation {
|
||||
// Identifies the element in the original source .proto file. This field
|
||||
// is formatted the same as SourceCodeInfo.Location.path.
|
||||
repeated int32 path = 1 [packed = true];
|
||||
|
||||
// Identifies the filesystem path to the original source .proto.
|
||||
optional string source_file = 2;
|
||||
|
||||
// Identifies the starting offset in bytes in the generated code
|
||||
// that relates to the identified object.
|
||||
optional int32 begin = 3;
|
||||
|
||||
// Identifies the ending offset in bytes in the generated code that
|
||||
// relates to the identified offset. The end offset should be one past
|
||||
// the last relevant byte (so the length of the text = end - begin).
|
||||
optional int32 end = 4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
// Custom options for defining:
|
||||
// - Maximum size of string/bytes
|
||||
// - Maximum number of elements in array
|
||||
//
|
||||
// These are used by nanopb to generate statically allocable structures
|
||||
// for memory-limited environments.
|
||||
|
||||
syntax = "proto2";
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
option java_package = "fi.kapsi.koti.jpa.nanopb";
|
||||
|
||||
enum FieldType {
|
||||
FT_DEFAULT = 0; // Automatically decide field type, generate static field if possible.
|
||||
FT_CALLBACK = 1; // Always generate a callback field.
|
||||
FT_POINTER = 4; // Always generate a dynamically allocated field.
|
||||
FT_STATIC = 2; // Generate a static field or raise an exception if not possible.
|
||||
FT_IGNORE = 3; // Ignore the field completely.
|
||||
}
|
||||
|
||||
enum IntSize {
|
||||
IS_DEFAULT = 0; // Default, 32/64bit based on type in .proto
|
||||
IS_8 = 8;
|
||||
IS_16 = 16;
|
||||
IS_32 = 32;
|
||||
IS_64 = 64;
|
||||
}
|
||||
|
||||
// This is the inner options message, which basically defines options for
|
||||
// a field. When it is used in message or file scope, it applies to all
|
||||
// fields.
|
||||
message NanoPBOptions {
|
||||
// Allocated size for 'bytes' and 'string' fields.
|
||||
optional int32 max_size = 1;
|
||||
|
||||
// Allocated number of entries in arrays ('repeated' fields)
|
||||
optional int32 max_count = 2;
|
||||
|
||||
// Size of integer fields. Can save some memory if you don't need
|
||||
// full 32 bits for the value.
|
||||
optional IntSize int_size = 7 [default = IS_DEFAULT];
|
||||
|
||||
// Force type of field (callback or static allocation)
|
||||
optional FieldType type = 3 [default = FT_DEFAULT];
|
||||
|
||||
// Use long names for enums, i.e. EnumName_EnumValue.
|
||||
optional bool long_names = 4 [default = true];
|
||||
|
||||
// Add 'packed' attribute to generated structs.
|
||||
// Note: this cannot be used on CPUs that break on unaligned
|
||||
// accesses to variables.
|
||||
optional bool packed_struct = 5 [default = false];
|
||||
|
||||
// Add 'packed' attribute to generated enums.
|
||||
optional bool packed_enum = 10 [default = false];
|
||||
|
||||
// Skip this message
|
||||
optional bool skip_message = 6 [default = false];
|
||||
|
||||
// Generate oneof fields as normal optional fields instead of union.
|
||||
optional bool no_unions = 8 [default = false];
|
||||
|
||||
// integer type tag for a message
|
||||
optional uint32 msgid = 9;
|
||||
|
||||
// decode oneof as anonymous union
|
||||
optional bool anonymous_oneof = 11 [default = false];
|
||||
}
|
||||
|
||||
// Extensions to protoc 'Descriptor' type in order to define options
|
||||
// inside a .proto file.
|
||||
//
|
||||
// Protocol Buffers extension number registry
|
||||
// --------------------------------
|
||||
// Project: Nanopb
|
||||
// Contact: Petteri Aimonen <jpa@kapsi.fi>
|
||||
// Web site: http://kapsi.fi/~jpa/nanopb
|
||||
// Extensions: 1010 (all types)
|
||||
// --------------------------------
|
||||
|
||||
extend google.protobuf.FileOptions {
|
||||
optional NanoPBOptions nanopb_fileopt = 1010;
|
||||
}
|
||||
|
||||
extend google.protobuf.MessageOptions {
|
||||
optional NanoPBOptions nanopb_msgopt = 1010;
|
||||
}
|
||||
|
||||
extend google.protobuf.EnumOptions {
|
||||
optional NanoPBOptions nanopb_enumopt = 1010;
|
||||
}
|
||||
|
||||
extend google.protobuf.FieldOptions {
|
||||
optional NanoPBOptions nanopb = 1010;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
// @file qti_gravity.proto
|
||||
//
|
||||
// Defines standard message types for the QTI Gravity Proto
|
||||
//
|
||||
// Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_gravity.proto";
|
||||
|
||||
enum qti_gravity_msgid
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
QTI_GRAVITY_MSGID_QTI_GRAVITY_MOTION_DATA_EVENT = 1029;
|
||||
}
|
||||
|
||||
// Device Motion State detected by the gravity sensor
|
||||
enum qti_gravity_device_motion_state
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
// Device motion state is unknown
|
||||
QTI_GRAVITY_DEVICE_MOTION_STATE_UNKNOWN = 0;
|
||||
|
||||
// Device is at absolute rest, an example of which
|
||||
// would be lying undisturbed on a desk
|
||||
QTI_GRAVITY_DEVICE_MOTION_STATE_ABS_REST = 1;
|
||||
|
||||
// Device is at relative rest, an example of which
|
||||
// would be held steady in the user hand undergoing
|
||||
// no orientation change
|
||||
QTI_GRAVITY_DEVICE_MOTION_STATE_REL_REST = 2;
|
||||
|
||||
// Device is in motion
|
||||
QTI_GRAVITY_DEVICE_MOTION_STATE_MOTION = 3;
|
||||
}
|
||||
|
||||
// Configuration Message
|
||||
// Used to either request for a certain configuration of the qti gravity sensor or
|
||||
// alter an already existing configuration of the qti gravity sensor
|
||||
// Uses sns_std_sensor_config defined in sns_std_sensor.proto
|
||||
// The message field definitions are as follows:
|
||||
// 1) float sample_rate
|
||||
// containing the required sample rate of the qti gravity sensor in hertz
|
||||
|
||||
// Data Message
|
||||
// Output data event generated by the qti gravity sensor.
|
||||
message qti_gravity_motion_data_event
|
||||
{
|
||||
// Device motion state detected using the gravity vector
|
||||
required qti_gravity_device_motion_state device_motion_state = 1 [default=QTI_GRAVITY_DEVICE_MOTION_STATE_UNKNOWN];
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
// @file sns_accel.proto
|
||||
//
|
||||
// Defines the API for Accelerometer Sensors.
|
||||
// All Accelerometer Sensor drivers are required to comply with this API.
|
||||
// Any new functionality for Accelerometer Sensor can be defined in a
|
||||
// device specific API file.
|
||||
//
|
||||
// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
import "sns_physical_sensor_test.proto";
|
||||
import "sns_std_event_gated_sensor.proto";
|
||||
import "sns_cal.proto";
|
||||
|
||||
// Attribute requirements:
|
||||
// The Accelerometer Sensor publishes:
|
||||
// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "accel".
|
||||
// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute values in (m/s2)/LSB unit.
|
||||
// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in +/-m/s2 unit.
|
||||
// 4. See sns_std_sensor.proto for other attributes.
|
||||
|
||||
// Handling stream requests:
|
||||
// 1. The Accelerometer Sensor handles the sns_std_sensor_config
|
||||
// message request with msgid SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG
|
||||
// for all non-gated stream enable/update requests.
|
||||
// 2. The Accelerometer Sensor handles the sns_std_sensor_config
|
||||
// message request with msgid SNS_STD_EVENT_GATED_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG
|
||||
// for all gated stream enable/update requests.
|
||||
// a. Accelerometer stream is gated on the motion detection feature
|
||||
// available on most accel hardware. This feature is published via the
|
||||
// "motion_detect" Sensor by the same driver library as "accel" Sensor.
|
||||
// b. If "motion_detect" is not supported then the Sensor does not support
|
||||
// stream gating. Any gated client request is rejected in this case.
|
||||
// 3. The Accelerometer Sensor uses batching_period item in
|
||||
// sns_std_request as the requested batching rate to determine
|
||||
// hardware FIFO watermark.
|
||||
|
||||
// Handling stream events:
|
||||
// 1. The Accelerometer Sensor publishes acceleration data stream events
|
||||
// using the sns_std_sensor_event message.
|
||||
// 2. Each stream event contains three output data fields where data is
|
||||
// in m/s2 units and is factory calibrated.
|
||||
// 3. Data in the stream is adjusted to Android coordinate system relative to a
|
||||
// mobile device held with screen facing the user in it's natural orientation:
|
||||
// X-axis: parallel to the screen pointing to the right
|
||||
// Y-axis: parallel to the screen pointing to the top
|
||||
// Z-axis: perpendicular to the screen pointing towards the user
|
||||
// This conforms to the mobile device axes orientation as specified by the
|
||||
// Android Sensor API.
|
||||
// 4. Data in the stream event is ordered as:
|
||||
// data[0] = X-axis
|
||||
// data[1] = Y-axis
|
||||
// data[2] = Z-axis
|
||||
// 5. Each stream event publishes an accuracy field:
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is
|
||||
// yet to stabilize after the sensor is configured.
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid.
|
||||
// 6. The Accelerometer Sensor publishes a configuration event using the
|
||||
// sns_std_sensor_physical_config_event message.
|
||||
// It publishes this event each time there is change in hardware config of the sensor
|
||||
// and contains current physical sensor config of the sensor.
|
||||
// 7. The Accelerometer Sensor publishes a factory calibration event using the
|
||||
// sns_cal_event message. It uses bias and comp_matrix fields in this event.
|
||||
// It publishes this event each time there is change in it's factory calibration
|
||||
// data or when a client sends a new streaming request.
|
||||
// 8. When all outstanding requests to the Sensor are gated requests and if the
|
||||
// "motion_detect" Sensor is enabled then the accel Sensor stops generating
|
||||
// output events.
|
||||
// a. When motion detect interrupt fires:
|
||||
// - All existing accel gated stream requests are converted to non-gated
|
||||
// stream requests.
|
||||
// The accel Sensor publishes an event with message ID
|
||||
// SNS_STD_EVENT_GATED_SENSOR_MSGID_GATED_REQ_CONVERTED_TO_NON_GATED to
|
||||
// to indicate this change to it's gated clients.
|
||||
// - The accel Sensor resumes generating output to all clients.
|
||||
// So in effect motion_detect Sensor and accel gated Sensor stream have
|
||||
// a one shot behavior.
|
||||
// b. The Sensor resumes generating output events if motion detect interrupt
|
||||
// is disabled potentially due to a new non-gated accel stream request or
|
||||
// the request to motion_detect Sensor is disabled.
|
||||
// 9. When all outstanding requests to the Sensor are gated requests but if
|
||||
// "motion_detect" Sensor is not enabled then the Sensor continues to generate
|
||||
// output events.
|
||||
|
||||
// Handling self-test requests:
|
||||
// 1. The Accelerometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test
|
||||
// type using the physical sensor test API.
|
||||
// 2. The Accelerometer Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test
|
||||
// type to determine factory calibration parameters using the physical
|
||||
// sensor test API.
|
||||
// 3. The Accelerometer Sensor could implement other test types.
|
||||
|
||||
// Handling test events:
|
||||
// 1. The Accelerometer Sensor uses sns_physical_sensor_test_event message to publish
|
||||
// a test completion event.
|
||||
// 2. The test_passed field in sns_physical_sensor_test_event is used to output the
|
||||
// pass/fail result of self-test execution.
|
||||
// 3. The test_data field in sns_physical_sensor_test_event could be used to output any
|
||||
// driver-specific error data.
|
||||
@@ -0,0 +1,32 @@
|
||||
// @file sns_accel_cal.proto
|
||||
//
|
||||
// Defines message types for the Accel Calibration Sensor.
|
||||
//
|
||||
// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_cal.proto";
|
||||
|
||||
// The Accel Calibration Sensor determines the calibration parameters
|
||||
// for accel sensor
|
||||
|
||||
// Accel Calibration Sensor Attributes:
|
||||
// - SNS_STD_SENSOR_ATTRID_TYPE: "accel_cal"
|
||||
// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to
|
||||
// enable the sensor
|
||||
// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm
|
||||
// and any previously determined calibration parameters.
|
||||
|
||||
// Stream Events:
|
||||
// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration
|
||||
// parameters to the client of the sensor. The sns_cal_event message as
|
||||
// defined in sns_cal.proto is used to report this data event where the
|
||||
// units for the bias field in the message are in m / s ^2
|
||||
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
// @file sns_activity_recognition.proto
|
||||
//
|
||||
// Defines message types for the Activity Recognition (AR) Sensor.
|
||||
//
|
||||
// Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// Acitivity Recognition Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "activity_recognition"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
|
||||
|
||||
// Message IDs for Acitivity Recognition Sensor
|
||||
enum sns_activity_recognition_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
// The sns_ar_event message is used to publish updated state. A new event
|
||||
// will be generated upon any state change.
|
||||
SNS_ACTIVITY_RECOGNITION_MSGID_SNS_AR_EVENT = 800;
|
||||
// Configuration event generated at least once in response to enable request
|
||||
SNS_ACTIVITY_RECOGNITION_MSGID_SNS_AR_CONFIG_EVENT = 801;
|
||||
}
|
||||
|
||||
// User activity states
|
||||
enum sns_ar_motion_state
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
// UNKNOWN is reported when the algorithm is unable to detect the current
|
||||
// activity state.
|
||||
SNS_AR_UNKNOWN = 0;
|
||||
// User is relatively stationary.
|
||||
SNS_AR_STATIONARY = 1;
|
||||
// User is classified as a pedestrian
|
||||
SNS_AR_PED = 2;
|
||||
// User is in a non-motorized vehicle
|
||||
SNS_AR_NMV = 3;
|
||||
// User is in a motorized vehicle.
|
||||
SNS_AR_MV = 4;
|
||||
// User is walking
|
||||
SNS_AR_WALK = 5;
|
||||
// User is running
|
||||
SNS_AR_RUN = 6;
|
||||
// User is on a bicycle
|
||||
SNS_AR_BICYCLE = 7;
|
||||
// User is in a car
|
||||
SNS_AR_CAR = 8;
|
||||
}
|
||||
|
||||
message sns_ar_config_event
|
||||
{
|
||||
// List of supported motion states
|
||||
repeated sns_ar_motion_state states = 1;
|
||||
}
|
||||
|
||||
message sns_ar_event
|
||||
{
|
||||
// List of active states for this user
|
||||
// Multiple states may be reported concurrently
|
||||
// Any states not listed here are presumed to be inactive
|
||||
repeated sns_ar_motion_state states = 1 [(nanopb).max_count = 4];
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
// @file sns_ambient_light.proto
|
||||
//
|
||||
// Defines the API for Ambient Light Sensors.
|
||||
// All Ambient Light Sensor drivers are required to comply with this API.
|
||||
// Any new functionality for Ambient Light Sensor can be defined in a
|
||||
// device specific API file.
|
||||
//
|
||||
// Copyright (c) 2016-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
import "sns_physical_sensor_test.proto";
|
||||
import "sns_cal.proto";
|
||||
|
||||
// Attribute requirements:
|
||||
// The Ambient Light Sensor publishes:
|
||||
// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ambient_light".
|
||||
// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in Lux/LSB.
|
||||
// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in Lux unit.
|
||||
// 4. See sns_std_sensor.proto for other attributes.
|
||||
|
||||
// Handling stream requests:
|
||||
// 1. The Ambient Light Sensor supports both streaming and on-change
|
||||
// modes and the operating mode is configured in the Registry.
|
||||
// 2. The streaming Ambient Light Sensor handles the sns_std_sensor_config
|
||||
// request for all stream enable/update requests.
|
||||
// 3. The on-change Ambient Light Sensor handles the
|
||||
// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG request for
|
||||
// all stream enable/update requests.
|
||||
// 4. In on-change mode the Sensor uses interrupt operation and reports
|
||||
// samples for only significant change in ambient light.
|
||||
// Example: +/- 10% change.
|
||||
|
||||
// Handling stream events:
|
||||
// 1. The Ambient Light Sensor publishes current illumination data stream
|
||||
// events using the sns_std_sensor_event message.
|
||||
// 2. Each stream event contains two output data fields where data is
|
||||
// factory calibrated and ordered as:
|
||||
// data[0] = ambient light in Lux
|
||||
// data[1] = raw ADC value associated with data[0]
|
||||
// 3. Each stream event publishes an accuracy field:
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is
|
||||
// yet to stabilize after the sensor is configured.
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid.
|
||||
// 4. The Ambient Light Sensor publishes a configuration event using the
|
||||
// sns_std_sensor_physical_config_event message.
|
||||
// It publishes this event each time there is change in hardware config of the sensor
|
||||
// and contains current physical sensor config of the sensor.
|
||||
// 5. The Ambient Light Sensor publishes a factory calibration event using the
|
||||
// sns_cal_event message. It uses bias and scale_factor fields in this event.
|
||||
// It publishes this event each time there is change in it's factory calibration
|
||||
// data or when a client sends a new request.
|
||||
|
||||
// Handling self-test requests:
|
||||
// 1. The Ambient Light Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test
|
||||
// type using the physical sensor test API.
|
||||
// 2. The Ambient Light Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test
|
||||
// type to determine factory calibration parameters using the physical
|
||||
// sensor test API. The factory test for Ambient Light Sensor calibrates
|
||||
// the sensor such that it's output Lux value is comparable to a standard
|
||||
// Luxmeter output in any lighting condition.
|
||||
// 3. The Ambient Light Sensor could implement other test types.
|
||||
|
||||
// Handling test events:
|
||||
// 1. The Ambient Light Sensor uses sns_physical_sensor_test_event message to publish
|
||||
// a test completion event.
|
||||
// 2. The test_passed field in sns_physical_sensor_test_event is used to output the
|
||||
// pass/fail result of self-test execution.
|
||||
// 3. The test_data field in sns_physical_sensor_test_event could be used to output any
|
||||
// driver-specific error data.
|
||||
@@ -0,0 +1,68 @@
|
||||
// @file sns_ambient_temperature.proto
|
||||
//
|
||||
// Defines the API for Ambient Temperature Sensors.
|
||||
// All Ambient Temperature Sensor drivers are required to comply with this API.
|
||||
// Any new functionality for Ambient Temperature Sensor can be defined in a
|
||||
// device specific API file.
|
||||
//
|
||||
// Copyright (c) 2016-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
import "sns_physical_sensor_test.proto";
|
||||
import "sns_cal.proto";
|
||||
|
||||
// Attribute requirements:
|
||||
// The Ambient Temperature Sensor publishes:
|
||||
// 1. SNS_STD_SENSOR_ATTRID_TYPE attribute value as "ambient_temperature".
|
||||
// 2. SNS_STD_SENSOR_ATTRID_RESOLUTIONS attribute value in degrees Celsius/LSB.
|
||||
// 3. SNS_STD_SENSOR_ATTRID_RANGES attribute values in degrees Celsius unit.
|
||||
// 4. The ambient_temperature sensor is an on-change sensor.
|
||||
// 5. The SNS_STD_SENSOR_ATTRID_RATES attribute is not applicable
|
||||
// since this is an on-change sensor.
|
||||
// 6. See sns_std_sensor.proto for other attributes.
|
||||
|
||||
// Handling stream requests:
|
||||
// 1. The Ambient Temperature Sensor handles the SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG
|
||||
// message ID for all stream enable/update requests.
|
||||
// 2. If the physical sensor supports hardware FIFO then the Ambient Temperature
|
||||
// Sensor uses batching_period item in sns_std_request as the requested
|
||||
// batching rate to determine hardware FIFO watermark.
|
||||
|
||||
// Handling stream events:
|
||||
// 1. The Ambient Temperature Sensor publishes data stream events using the
|
||||
// sns_std_sensor_event message.
|
||||
// 2. Each stream event contains one output data field where data is
|
||||
// factory calibrated and ordered as:
|
||||
// data[0] = Ambient Temperature data in degrees Celsius
|
||||
// 3. Each stream event publishs an accuracy field:
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE to mark invalid samples when hardware is
|
||||
// yet to stabilize after the sensor is configured.
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH to mark samples when they are valid.
|
||||
// 4. The Ambient Temperature Sensor publishes a configuration event using the
|
||||
// sns_std_sensor_physical_config_event message.
|
||||
// It publishes this event each time there is change in hardware config of the sensor
|
||||
// and contains current physical sensor config of the sensor.
|
||||
// 5. The Ambient Temperature Sensor publishes a factory calibration event using the
|
||||
// sns_cal_event message. It uses bias and scale_factor fields in this event.
|
||||
// It publishes this event each time there is change in it's factory calibration
|
||||
// data or when a client sends a new streaming request.
|
||||
|
||||
// Handling self-test requests:
|
||||
// 1. The Ambient Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_COM test
|
||||
// type using the physical sensor test API.
|
||||
// 2. The Ambient Temperature Sensor implements SNS_PHYSICAL_SENSOR_TEST_TYPE_FACTORY test
|
||||
// type to determine factory calibration parameters using the physical
|
||||
// sensor test API.
|
||||
// 3. The Ambient Temperature Sensor could implement other test types.
|
||||
|
||||
// Handling test events:
|
||||
// 1. The Ambient Temperature Sensor uses sns_physical_sensor_test_event message to publish
|
||||
// a test completion event.
|
||||
// 2. The test_passed field in sns_physical_sensor_test_event is used to output the
|
||||
// pass/fail result of self-test execution.
|
||||
// 3. The test_data field in sns_physical_sensor_test_event could be used to output any
|
||||
// driver-specific error data.
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
// @file sns_amd.proto
|
||||
//
|
||||
// Defines message types for the Absolute Motion Detector (AMD) Sensor.
|
||||
//
|
||||
// Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// AMD calculates motion and stationary states. AMD will initially start in an
|
||||
// unknown state, and later transition to motion or stationary.
|
||||
|
||||
// AMD Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "amd"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
|
||||
|
||||
// Message IDs for AMD Sensor
|
||||
enum sns_amd_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_AMD_MSGID_SNS_AMD_EVENT = 772;
|
||||
}
|
||||
|
||||
enum sns_amd_event_type
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_AMD_EVENT_TYPE_UNKNOWN = 0;
|
||||
SNS_AMD_EVENT_TYPE_STATIONARY = 1;
|
||||
SNS_AMD_EVENT_TYPE_MOTION = 2;
|
||||
}
|
||||
|
||||
message sns_amd_event
|
||||
{
|
||||
// AMD motion state
|
||||
required sns_amd_event_type state = 1 [default = SNS_AMD_EVENT_TYPE_UNKNOWN];
|
||||
}
|
||||
|
||||
// Stream events:
|
||||
//
|
||||
// The sns_amd_event message is used to publish updated state
|
||||
//
|
||||
// AMD does not publish configuration events.
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
// @file sns_aont.proto
|
||||
//
|
||||
// Defines message types for the AONT(Always On Test) Sensor.
|
||||
//
|
||||
// Copyright (c) 2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// The Always On Test Sensor runs an Always On sensors usecase for stability test coverage
|
||||
|
||||
// Always On Test Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "always_on_test"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
|
||||
|
||||
// Stream Events:
|
||||
enum sns_aont_msgid
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_AONT_MSGID_SNS_AONT_DATA = 1024;
|
||||
}
|
||||
|
||||
// Data Message
|
||||
// Output data event generated by the aont sensor.
|
||||
message sns_aont_data
|
||||
{
|
||||
// AONT output - Accel data along axis x,y,z in m/s2
|
||||
repeated float aont = 1 [(nanopb).max_count = 3];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,166 @@
|
||||
// @file sns_async_com_port.proto
|
||||
//
|
||||
// Defines standard message types for the Async Com Port
|
||||
//
|
||||
// Copyright (c) 2016-2018, 2020 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std.proto";
|
||||
|
||||
// Asynchronous Com Port
|
||||
//
|
||||
// The Asynchronous Com Port provides access to buses like I2C, I3C, SPI and others.
|
||||
// A complete list of all buses available in the sns_async_com_port_bus_type enum.
|
||||
//
|
||||
// The Asynchronous Com Port can perform read and write operations on these buses
|
||||
// asynchronously. This is the recommended way to perform large bus reads (example:
|
||||
// reading a large FIFO buffer). This file describes the use of the async com port
|
||||
// (ascp) API.
|
||||
//
|
||||
// First, the client must configure the port using the sns_async_com_port_config
|
||||
// message.
|
||||
//
|
||||
// To perform one or more read or write operations, the client should send the
|
||||
// sns_async_com_port_vector_rw message.
|
||||
//
|
||||
// A single sns_async_com_port_vector_rw message can contain multiple
|
||||
// sns_async_com_port_vector messages, the async com port will efficiently perform
|
||||
// all the transactions that are part of the parent sns_async_com_port_vector_rw
|
||||
// message. The results of the transaction will be sent as an sns_async_com_port_vector_rw
|
||||
// event.
|
||||
//
|
||||
// The async com port will internally manage efficiently opening and closing the
|
||||
// bus power lines and clock settings. The async com port can safely be used along
|
||||
// with the synchronous com port service.
|
||||
//
|
||||
// To help with encoding and decoding the sns_async_com_port_vector_rw messages,
|
||||
// utility functions are provided in sns_async_com_port_pb_utils.h
|
||||
|
||||
|
||||
// The operation to be performed by the async com port
|
||||
enum sns_async_com_port_operation_type
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_ASYNC_COM_PORT_OPERATION_TYPE_READ = 0;
|
||||
SNS_ASYNC_COM_PORT_OPERATION_TYPE_WRITE = 1;
|
||||
}
|
||||
|
||||
// The bus type to be accessed by the async com port
|
||||
enum sns_async_com_port_bus_type
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
// I2C bus:
|
||||
SNS_ASYNC_COM_PORT_BUS_TYPE_I2C = 0;
|
||||
|
||||
// SPI bus:
|
||||
SNS_ASYNC_COM_PORT_BUS_TYPE_SPI = 1;
|
||||
|
||||
// I3C bus, standard data rate:
|
||||
SNS_ASYNC_COM_PORT_BUS_TYPE_I3C_SDR = 3;
|
||||
|
||||
// I3C bus, double data rate:
|
||||
SNS_ASYNC_COM_PORT_BUS_TYPE_I3C_HDR_DDR = 4;
|
||||
|
||||
// I3C bus, legacy I2C device attached to I3C bus:
|
||||
SNS_ASYNC_COM_PORT_BUS_TYPE_I3C_I2C_LEGACY = 5;
|
||||
}
|
||||
|
||||
// The registry address type to be used by async com port
|
||||
enum sns_async_com_port_reg_addr_type
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_ASYNC_COM_PORT_REG_ADDR_TYPE_8_BIT = 0;
|
||||
SNS_ASYNC_COM_PORT_REG_ADDR_TYPE_16_BIT = 1;
|
||||
SNS_ASYNC_COM_PORT_REG_ADDR_TYPE_32_BIT = 2;
|
||||
}
|
||||
|
||||
// Configuration message
|
||||
message sns_async_com_port_config
|
||||
{
|
||||
// The bus type
|
||||
required sns_async_com_port_bus_type bus_type = 1;
|
||||
|
||||
// Slave Address for I2C.
|
||||
// Dynamic slave address for I3C.
|
||||
// Chip Select for SPI.
|
||||
required fixed32 slave_control = 2;
|
||||
|
||||
// Register address type for the slave
|
||||
required sns_async_com_port_reg_addr_type reg_addr_type = 3;
|
||||
|
||||
// Minimum bus clock supported by slave in kHz
|
||||
required fixed32 min_bus_speed_kHz = 4;
|
||||
|
||||
// Maximum bus clock supported by slave in kHz
|
||||
required fixed32 max_bus_speed_kHz = 5;
|
||||
|
||||
// Platform bus instance number (BLSP number)
|
||||
required fixed32 bus_instance = 6;
|
||||
}
|
||||
|
||||
// A single read or write operation.
|
||||
message sns_async_com_port_vector
|
||||
{
|
||||
// Read or write operation
|
||||
required sns_async_com_port_operation_type operation = 1;
|
||||
|
||||
// Register address
|
||||
required fixed32 reg_addr = 2;
|
||||
|
||||
|
||||
// Number of bytes to read or write.
|
||||
// The async com port will ignore this field for a write
|
||||
// operation and use the size of the buffer present in the message.
|
||||
//
|
||||
// For events generated by the async com port, this field will always match the
|
||||
// size of the buffer when it is present.
|
||||
optional fixed32 num_bytes = 3;
|
||||
|
||||
// Buffer
|
||||
// The async com port will ignore this field in a request for a read operation.
|
||||
optional bytes buffer = 4;
|
||||
}
|
||||
|
||||
|
||||
// A collection of read and write operations
|
||||
message sns_async_com_port_vector_rw
|
||||
{
|
||||
// Number of operations
|
||||
required fixed32 num_vectors = 1;
|
||||
|
||||
// Read/write operations
|
||||
repeated sns_async_com_port_vector vectors = 2;
|
||||
}
|
||||
|
||||
// Notifies the client of an error during a transaction
|
||||
message sns_async_com_port_error
|
||||
{
|
||||
// Registry address
|
||||
required fixed32 reg_addr = 1;
|
||||
|
||||
// Number of bytes that was to be read/written
|
||||
required fixed32 num_bytes = 2;
|
||||
|
||||
// Error code
|
||||
required sns_std_error error_code = 3;
|
||||
}
|
||||
|
||||
|
||||
// Message IDs
|
||||
enum sns_async_com_port_msgid
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_CONFIG = 512;
|
||||
SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_VECTOR_RW = 1024;
|
||||
SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_ERROR = 1025;
|
||||
SNS_ASYNC_COM_PORT_MSGID_SNS_ASYNC_COM_PORT_REG = 1026;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
// @file sns_basic_gestures.proto
|
||||
//
|
||||
// Defines message types for the the basic_gestures sensor
|
||||
//
|
||||
// Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
|
||||
// Basic Gestures algorithm provides the ability to detect a Push, Pull,
|
||||
// or Shake gesture.
|
||||
// Basic Gestures reports "Axis Unknown", when the direction of a shake cannot
|
||||
// be reliably determined.
|
||||
|
||||
// Basic gestures Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "basic_gestures"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_CONFIG is used to enable the sensor
|
||||
|
||||
// Message IDs for Basic gestures Sensor
|
||||
enum sns_basic_gestures_msgid
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_CONFIG = 512;
|
||||
SNS_BASIC_GESTURES_MSGID_SNS_BASIC_GESTURES_EVENT = 1024;
|
||||
}
|
||||
//To mask Basic gesture algorithm output states
|
||||
enum sns_basic_gestures_event_mask
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
// For masking push and pull states
|
||||
SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL = 1;
|
||||
// For masking shake left and right states
|
||||
SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_LEFT_AND_RIGHT = 2;
|
||||
// For masking shake top and bottom states
|
||||
SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_TOP_AND_BOTTOM = 4;
|
||||
//For masking shake other state
|
||||
SNS_BASIC_GESTURES_EVENT_MASK_SHAKE_OTHER = 8;
|
||||
}
|
||||
// Device Basic gesture detected by Basic gestures sensor
|
||||
enum sns_basic_gestures_event_type
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
//Phone is pulled away from the user in a direction perpendicular to the screen
|
||||
SNS_BASIC_GESTURES_EVENT_TYPE_PUSH = 1;
|
||||
//Phone is pulled toward the user in a direction perpendicular to the screen
|
||||
SNS_BASIC_GESTURES_EVENT_TYPE_PULL = 2;
|
||||
//Phone is shaken toward the left
|
||||
SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_LEFT = 3;
|
||||
//Phone is shaken toward the right
|
||||
SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_RIGHT = 4;
|
||||
//Phone is shaken toward the top
|
||||
SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_TOP = 5;
|
||||
//Phone is shaken toward the bottom
|
||||
SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_BOTTOM = 6;
|
||||
//Phone is shaken, but phone shake direction cannot be clearly determined
|
||||
SNS_BASIC_GESTURES_EVENT_TYPE_SHAKE_OTHER = 7;
|
||||
}
|
||||
// Event Message
|
||||
// Output data event generated by the basic_gestures sensor.
|
||||
// Default values of optional fields added in registry
|
||||
message sns_basic_gestures_config
|
||||
{
|
||||
//Sleep time in seconds
|
||||
optional float sleep = 1;
|
||||
//Push threshold m/s/s(default = 1.5G),where G=9.81188
|
||||
//min_push_threshold:1G, max_push_threshold:5G
|
||||
optional float push_threshold = 2;
|
||||
//Pull threshold m/s/s (default = 1.5G)
|
||||
//min_pull_threshold:1G, max_pull_threshold:5G
|
||||
optional float pull_threshold = 3;
|
||||
//Shake threshold m/s/s(default = 1.5G)
|
||||
//min_shake_threshold:1G, max_shake_threshold:5G
|
||||
optional float shake_threshold = 4;
|
||||
//For masking output events.
|
||||
//By default, All states reported.
|
||||
//Client should use sns_basic_gestures_event_mask fields for masking,
|
||||
//specific events
|
||||
//Example: If client doesn't want push and pull events,then,
|
||||
//client updates event_mask with SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL
|
||||
//event_mask |= SNS_BASIC_GESTURES_EVENT_MASK_PUSH_AND_PULL;
|
||||
optional bytes event_mask = 5;
|
||||
}
|
||||
|
||||
// Event Message
|
||||
// Output data event generated by the basic_gestures sensor.
|
||||
message sns_basic_gestures_event
|
||||
{
|
||||
// basic_gestures sensor state info
|
||||
required sns_basic_gestures_event_type state=1;
|
||||
}
|
||||
|
||||
// Stream events:
|
||||
//
|
||||
// The sns_basic_gestures_event message is used to publish updated state
|
||||
//
|
||||
// Basic_gestures sensor does not publish configuration events.
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
// @file sns_bring_to_ear.proto
|
||||
//
|
||||
// Defines message types for the the Bring_To_Ear sensor
|
||||
//
|
||||
// Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// Bring_to_ear sensor detects bring to ear event,
|
||||
// When a device has been held in a face-up position,
|
||||
// afterwhich the device is brought to the user's ear, with the top of the device facing upwards.
|
||||
|
||||
// Bring to ear Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "bring_to_ear"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
//
|
||||
// ## Request Message: SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG
|
||||
// No configuration is available for this sensor.
|
||||
|
||||
// ## Event Message: SNS_BRING_TO_EAR_MSGID_SNS_BRING_TO_EAR_EVENT
|
||||
// Reported upon new detection of bring_to_ear event
|
||||
|
||||
|
||||
// Message IDs for Bring to ear Sensor
|
||||
enum sns_bring_to_ear_msgid
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
// Empty Message
|
||||
SNS_BRING_TO_EAR_MSGID_SNS_BRING_TO_EAR_EVENT = 1024;
|
||||
}
|
||||
|
||||
// Stream events:
|
||||
//
|
||||
// The sns_bring_to_ear_event message is used to publish updated state
|
||||
//
|
||||
// Bring_to_ear sensor does not publish configuration events.
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
|
||||
enum sns_register_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_MSGID_REGISTER_READ = 666;
|
||||
SNS_MSGID_REGISTER_WRITE = 667;
|
||||
|
||||
SNS_MSGID_READ_EVENT = 668;
|
||||
|
||||
SNS_MSGID_WRITE_EVENT = 669;
|
||||
}
|
||||
|
||||
message sns_register_read_req {
|
||||
|
||||
required fixed32 reg_address =1;
|
||||
|
||||
required fixed32 length=2;
|
||||
}
|
||||
|
||||
//assuem just support 1 register with 32 bit every time
|
||||
message sns_register_write_req{
|
||||
required fixed32 reg_address =1;
|
||||
|
||||
required fixed32 value = 2;
|
||||
}
|
||||
|
||||
|
||||
// Events types from motion detect Sensor
|
||||
message sns_register_read_event
|
||||
{
|
||||
required fixed32 reg_address =1;
|
||||
|
||||
required bytes data =2;
|
||||
|
||||
}
|
||||
|
||||
// assume
|
||||
message sns_register_write_event
|
||||
{
|
||||
required fixed32 reg_address =1;
|
||||
|
||||
required fixed32 result =2;
|
||||
|
||||
//the old value before wrting,not necessary to use bytes here
|
||||
optional bytes old_value =3;
|
||||
}
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
// @file sns_cal.proto
|
||||
//
|
||||
// Defines standard message types pertaining to calibration
|
||||
//
|
||||
// Copyright (c) 2016-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// For dynamic calibration supported by Calibration Sensors:
|
||||
// Client will use the standard on change config message id to enable
|
||||
// Calibration Sensor. Calibration algorithms are inherently on change in
|
||||
// behavior.
|
||||
|
||||
// For both dynamic calibration supported by Calibration Sensors &
|
||||
// factory calibration supported by Physical Sensors:
|
||||
// Client can send an empty request with the msg id for reset
|
||||
// to reset the calibration parameters.
|
||||
enum sns_cal_msgid
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
SNS_CAL_MSGID_SNS_CAL_RESET = 512;
|
||||
SNS_CAL_MSGID_SNS_CAL_EVENT = 1022;
|
||||
}
|
||||
|
||||
// Calibration Event
|
||||
// Used as an output data event by Calibration Sensors to convey
|
||||
// dynamic calibration estimates and
|
||||
// as a config event by Physical Sensors to convey factory calibration
|
||||
// being applied
|
||||
//
|
||||
// A) The data field of the sns_cal_event message
|
||||
//
|
||||
// 1) float bias[] (Nx1 vector)
|
||||
// The zero bias (B) correction subtracted to get calibrated sample.(Nx1 vector)
|
||||
//
|
||||
// 2) float scale_factor (Nx1 vector)
|
||||
// The scaling (SF) to be done before doing any bias correction.
|
||||
//
|
||||
// 3) float comp_matrix (NxN matrix)
|
||||
// The compensation matrix (CM). The matrix elements are in row major order ie:
|
||||
// CM = CM0 CM1 CM2
|
||||
// CM3 CM4 CM5
|
||||
// CM6 CM7 CM8
|
||||
//
|
||||
// The calibrated sample (Sc) is computed as following.
|
||||
//
|
||||
// if SF, B and CM are available,
|
||||
//
|
||||
// Sc = CM * ((S .* SF) - B)
|
||||
//
|
||||
// if only B and CM are available,
|
||||
//
|
||||
// Sc = CM * (S - B)
|
||||
//
|
||||
// if only SF and B are available,
|
||||
//
|
||||
// Sc = ((S .* SF) - B)
|
||||
//
|
||||
// if only SF is available,
|
||||
//
|
||||
// Sc = S .* SF
|
||||
//
|
||||
// if only B is available,
|
||||
//
|
||||
// Sc = (S - B)
|
||||
//
|
||||
// if only CM is available
|
||||
//
|
||||
// Sc = CM * S
|
||||
//
|
||||
// where:
|
||||
// Sc = Calibrated sensor sample
|
||||
// S = Sensor sample (Nx1 vector)
|
||||
// SF = Scaling factor to be applied to S
|
||||
// CM = compensation_matrix
|
||||
// B = bias
|
||||
// "*" represents matrix multiplication
|
||||
// ".*" represents element-by-element multiplication
|
||||
//
|
||||
//
|
||||
// B) The status field of the sns_std_sensor_event message contains
|
||||
// the quality of calibration defined by sns_std_sensor_sample_status as
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE = 0; // Sample is unreliable.
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_LOW = 1; // Sample is low accuracy.
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_MEDIUM = 2;// Sample is medium accuracy.
|
||||
// SNS_STD_SENSOR_SAMPLE_STATUS_ACCURACY_HIGH = 3; // Sample is high accuracy.
|
||||
|
||||
message sns_cal_event
|
||||
{
|
||||
//Optional bias value
|
||||
//If no bias is being published this will be of size 0.
|
||||
//Generic for different axes biases.
|
||||
//Size is defined by axes value inherently.
|
||||
repeated float bias = 1;
|
||||
|
||||
//Optional scaling factor
|
||||
//If no scaling factor is published this will be of size 0.
|
||||
//Size if published is has to be equal to the axes of the data
|
||||
repeated float scale_factor = 2;
|
||||
|
||||
//If no CM is being published this will be of size 0.
|
||||
//Optional CM values .
|
||||
//Size if published should be equal to matrix of size [axes*axes]
|
||||
repeated float comp_matrix = 3;
|
||||
|
||||
// Event sample status.
|
||||
required sns_std_sensor_sample_status status = 4 [default = SNS_STD_SENSOR_SAMPLE_STATUS_UNRELIABLE];
|
||||
|
||||
// Calibration ID, a unique identifier for the calibration set being used
|
||||
// As an example, could be set when there are distinct calibration sets for different
|
||||
// device modes being maintained
|
||||
optional fixed32 cal_id = 5;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
// @file sns_ccd_ttw.proto
|
||||
//
|
||||
// Defines message types for the ccd_ttw Sensor.
|
||||
//
|
||||
// Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// The CCD ttw (tilt_to_wake) detects substantial phone rotation (gesture) within
|
||||
// limited period ending in a specific range of the pitch and roll angles.
|
||||
|
||||
// tilt_to_wake Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "ccd_ttw"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
|
||||
|
||||
// Message IDs for ccd_ttw Sensor
|
||||
enum sns_ccd_ttw_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_CCD_TTW_MSGID_SNS_CCD_TTW_EVENT = 775;
|
||||
}
|
||||
|
||||
// Stream events:
|
||||
//
|
||||
// A NULL message with message ID SNS_CCD_TTW_MSGID_SNS_CCD_TTW_EVENT is used to
|
||||
// publish ccd_ttw event
|
||||
//
|
||||
// ccd_ttw does not publish configuration events.
|
||||
@@ -0,0 +1,40 @@
|
||||
// @file sns_ccd_walk.proto
|
||||
//
|
||||
// Defines message types for the Walk CCD.
|
||||
//
|
||||
// Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// CCD Walk calculates a walk state.
|
||||
// When a walk is detected, the sensor will send one WALK event.
|
||||
// To send additional walk events, the sensor must be re-armed with the
|
||||
// SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG event again.
|
||||
//
|
||||
// No events are generated when not in the walk state.
|
||||
|
||||
// CCD Walk Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "ccd_walk"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT
|
||||
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
|
||||
|
||||
// Message IDs for Walk Sensor
|
||||
enum sns_ccd_walk_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_CCD_WALK_MSGID_SNS_CCD_WALK_EVENT = 773;
|
||||
}
|
||||
|
||||
// Stream events:
|
||||
//
|
||||
// A NULL message with message ID SNS_CCD_WALK_MSGID_SNS_CCD_WALK_EVENT is used to
|
||||
// publish the walk event.
|
||||
//
|
||||
// Walk does not publish configuration events.
|
||||
@@ -0,0 +1,116 @@
|
||||
// @file sns_client.proto
|
||||
//
|
||||
// Defines the interface between external clients and the Sensors QMI Client
|
||||
// Manager. The Client Manager is the primary path for external clients
|
||||
// to communicate with the SSC.
|
||||
//
|
||||
// Copyright (c) 2016-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std.proto";
|
||||
import "sns_std_type.proto";
|
||||
|
||||
// Message IDs
|
||||
//
|
||||
// Message IDs uniquely identify a particular message amongst all message
|
||||
// supported by a Sensor, both requests and events; they need not be unique
|
||||
// between different Sensors. IDs are subdivided into several reserved pools.
|
||||
// These reservations are made so that Framework components can appropriately
|
||||
// optimize their processing.
|
||||
//
|
||||
// Reserved for Framework use only:
|
||||
// 0-127 - Request Messages
|
||||
// 128-255 - Non-recurrent events (configuration updates, one-time events, etc)
|
||||
// 256-511 - Recurrent and/or periodic events (e.g. sensor samples)
|
||||
//
|
||||
// Sensor use:
|
||||
// 512-767 - Request messages
|
||||
// 768-1023 - Non-recurrent events
|
||||
// 1024-1536 - Recurrent events
|
||||
//
|
||||
// Note that messages serving as request messages can also be sent as
|
||||
// configuration events back to the client (with the same ID). While batching
|
||||
// data for a non-wakeup client, if the AP is in suspend and all batching space
|
||||
// exhausted, the oldest recurrent events may be dropped.
|
||||
|
||||
// Framework-defined message IDs:
|
||||
enum sns_client_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
// Disable request explicitly handled only on the client interface.
|
||||
SNS_CLIENT_MSGID_SNS_CLIENT_DISABLE_REQ = 10;
|
||||
|
||||
// NOTE: 120-127 Are reserved
|
||||
}
|
||||
|
||||
enum sns_client_delivery {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
// Send events whenever available (at sample rate or batch period)
|
||||
// - If a batch_period larger than system capacity is requested, all data
|
||||
// will be sent upon capacity exhaustion.
|
||||
// - The flush_period will be effectively ignored, as unsent batched
|
||||
// data will not accrue in the buffer.
|
||||
SNS_CLIENT_DELIVERY_WAKEUP = 0;
|
||||
// Send events only when client processor is awake; batch otherwise. Once
|
||||
// the target processor exits suspend, any/all pending events will be sent.
|
||||
SNS_CLIENT_DELIVERY_NO_WAKEUP = 1;
|
||||
}
|
||||
|
||||
|
||||
// Request Message
|
||||
message sns_client_request_msg {
|
||||
// SUID associated with this request; intended destination
|
||||
required sns_std_suid suid = 1;
|
||||
|
||||
// See comment above
|
||||
required fixed32 msg_id = 2;
|
||||
|
||||
// Whether to wakeup the client processor (if it is in suspend), when an
|
||||
// event is generated and ready to send. The Qualcomm Client Manager will
|
||||
// enforce these criteria for all clients; this information is made available
|
||||
// to sensors for optimization purposes only.
|
||||
message suspend_config {
|
||||
// Processor on which the client resides; If a flush occurs for one client
|
||||
// on an external processor, all clients will receive a flush of data.
|
||||
required sns_std_client_processor client_proc_type = 1 [default = SNS_STD_CLIENT_PROCESSOR_APSS];
|
||||
|
||||
// Whether to send events while the specified processor is in suspend.
|
||||
required sns_client_delivery delivery_type = 2 [default = SNS_CLIENT_DELIVERY_WAKEUP];
|
||||
|
||||
//The client expects that, when the message with an id specified in this list
|
||||
//is generated, the message should only be delivered to the client if data is already being delivered
|
||||
//to the processor mentioned above.
|
||||
repeated fixed32 nowakeup_msg_ids = 3;
|
||||
}
|
||||
required suspend_config susp_config = 3;
|
||||
|
||||
// Base message payload; contents will be partially specified by Sensor developer
|
||||
required sns_std_request request = 4;
|
||||
}
|
||||
|
||||
message sns_client_event_msg {
|
||||
// SUID associated with this Event; source of data
|
||||
required sns_std_suid suid = 1;
|
||||
|
||||
// An event generated by a Sensor; used within sns_client_event_msg and SensorBatchMessage
|
||||
message sns_client_event {
|
||||
// See comment above
|
||||
required fixed32 msg_id = 1;
|
||||
|
||||
// Timestamp associated with this event
|
||||
// For most events, this timestamp is specified by the Sensor.
|
||||
// For events generated by the Framework (such as configuration updates or
|
||||
// error events), this timestamp refers to the time at which the event was
|
||||
// created.
|
||||
required fixed64 timestamp = 2;
|
||||
|
||||
// Dynamic length payload, containing the actual data/event
|
||||
// This payload will need to be decoded separately, using the Sensor-specific
|
||||
// header file
|
||||
required bytes payload = 3;
|
||||
}
|
||||
repeated sns_client_event events = 2;
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
|
||||
// @file sns_cmc.proto
|
||||
//
|
||||
// Defines message types for the Coarse Motion Classifier (CMC) Sensor.
|
||||
//
|
||||
// Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
|
||||
// CMC Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "coarse_motion_classifier"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
|
||||
|
||||
// Message IDs for CMC Sensor
|
||||
enum sns_cmc_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_CMC_MSGID_SNS_CMC_EVENT = 772;
|
||||
}
|
||||
|
||||
// Gives the state which the algorithm is capable
|
||||
// of detecting
|
||||
enum sns_cmc_motion_state
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
// stated with 1 to match with algo where 0
|
||||
// is for UNKNOWN
|
||||
SNS_CMC_STATIONARY = 1;
|
||||
SNS_CMC_MOVE = 2;
|
||||
SNS_CMC_FIDDLE = 3;
|
||||
SNS_CMC_PEDESTRIAN = 4;
|
||||
SNS_CMC_VEHICLE = 5;
|
||||
SNS_CMC_WALK = 6;
|
||||
SNS_CMC_RUN = 7;
|
||||
SNS_CMC_BIKE = 8;
|
||||
}
|
||||
|
||||
// Gives the information about the states represented
|
||||
// by sns_cmc_motion_state
|
||||
enum sns_cmc_motion_state_event
|
||||
{
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
// when any state of any of the motion state cannot
|
||||
// be determined. The first event of first client will
|
||||
// typically have all states as SNS_MS_UNKNOWN
|
||||
SNS_MS_UNKNOWN = 0;
|
||||
// A given motion state is ACTIVE
|
||||
SNS_MS_ACTIVE = 1;
|
||||
// A given motion state is INACTIVE
|
||||
SNS_MS_INACTIVE = 2;
|
||||
}
|
||||
|
||||
message sns_cmc_event
|
||||
{
|
||||
message data
|
||||
{
|
||||
// motion state by CMC
|
||||
required sns_cmc_motion_state ms_state = 1;
|
||||
|
||||
// gives UNKNOWN/ACTIVE/INACTIVE information for the motion state
|
||||
required sns_cmc_motion_state_event ms_state_event = 2 [default = SNS_MS_UNKNOWN];
|
||||
}
|
||||
|
||||
repeated data events = 1;
|
||||
}
|
||||
|
||||
// Stream events:
|
||||
//
|
||||
// The sns_cmc_event message is used to publish updated state
|
||||
//
|
||||
// CMC does not publish configuration events.
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
// @file sns_cmd.proto
|
||||
//
|
||||
// Defines message types for the Continuous Motion Detector (CMD) Sensor.
|
||||
//
|
||||
// Copyright (c) 2018 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
import "sns_std_sensor.proto";
|
||||
|
||||
// CMD identified continuous motions such as vehicle and walk. CMD will initially start in an
|
||||
// unknown state, and later transition to motion or stationary.
|
||||
|
||||
// CMD Sensor Attribute Requirements:
|
||||
// SNS_STD_SENSOR_ATTRID_TYPE: "cmd"
|
||||
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
|
||||
|
||||
// Stream Requests:
|
||||
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
|
||||
|
||||
// Message IDs for CMD Sensor
|
||||
enum sns_cmd_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
|
||||
SNS_CMD_MSGID_SNS_CMD_EVENT = 772;
|
||||
}
|
||||
|
||||
// Stream events:
|
||||
//
|
||||
// A NULL message with message ID SNS_CMD_MSGID_SNS_CMD_EVENT is used to
|
||||
// publish CMD event
|
||||
//
|
||||
// CMD does not publish configuration events.
|
||||
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
// @file sns_da_test.proto
|
||||
//
|
||||
// Defines the API for communicating with the Driver acceptance
|
||||
// test sensor.
|
||||
// This is to used by the linux command line partner application
|
||||
// to send string messages to the sns_da_test_sensor
|
||||
//
|
||||
// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc.
|
||||
// All Rights Reserved.
|
||||
// Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
|
||||
enum sns_da_test_msgid {
|
||||
option (nanopb_enumopt).long_names = false;
|
||||
SNS_DA_TEST_MSGID_SNS_DA_TEST_REQ = 512;
|
||||
SNS_DA_TEST_MSGID_SNS_DA_TEST_LOG = 768;
|
||||
SNS_DA_TEST_MSGID_SNS_DA_TEST_EVENT = 1024;
|
||||
}
|
||||
|
||||
//This message contains the test parameters as a single string in the format below
|
||||
//-testcase=<not_mandatory> -sample_rate=< any +tive value > -sensor=<data_type>
|
||||
//-duration=< any +tive value in seconds> -batch_period=<+tive value in seconds>
|
||||
message sns_da_test_req {
|
||||
optional string test_args = 1;
|
||||
}
|
||||
|
||||
//This message contains any return data from the test driver including PASS/FAIL
|
||||
//msg. and explainations if applicable
|
||||
message sns_da_test_event {
|
||||
optional string test_event = 1;
|
||||
}
|
||||
|
||||
// Sensor State log message
|
||||
// This definition is used by da_test sensor to log test
|
||||
// information when publishing sensor api event
|
||||
message sns_da_test_log {
|
||||
//Time elapsed between streaming start request time and first sample received
|
||||
required uint64 time_to_first_event = 1;
|
||||
|
||||
//Time elapsed between streaming stop request time and last sample received
|
||||
required sfixed32 time_to_last_event = 2;
|
||||
|
||||
//Time when last sample was received
|
||||
required uint64 sample_ts = 3;
|
||||
|
||||
//Total number of samples received
|
||||
required uint32 total_samples = 4;
|
||||
|
||||
//time delta between samples avegraged over number of samples
|
||||
required uint32 avg_delta = 5;
|
||||
|
||||
//configures sample rate received in the SNS_STD_SENSOR_PHYSICAL_CONFIG_EVENT
|
||||
required sfixed32 recvd_phy_config_sample_rate = 6;
|
||||
|
||||
//random seed used by the da_test instance
|
||||
optional uint64 random_seed_used = 7;
|
||||
|
||||
//The number of std_req sent out by this instance of da_test
|
||||
optional uint32 num_request_sent = 8;
|
||||
|
||||
//timestamp of first sample received on da_test
|
||||
optional uint64 first_sample_timestamp = 9;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user