Code:
BSX_U8 bsxLibConfAcc[] = {37,0,3,1,0,9,12,150,0,16,60,0,1,0,1,0,176,4,82,3,0,0,64,65,1,1,1,1,2,2,2,3,3,1,1,180,115};
BSX_U8 bsxLibConfMag[] = {39,0,2,1,20,5,20,5,196,9,6,9,112,23,0,0,128,61,205,204,76,63,0,0,224,64,1,1,1,1,1,1,1,1,1,1,1,134,84};
BSX_U8 bsxLibConfGyro[] = {14,0,1,1,3,9,12,136,19,16,1,1,129,46};
BSX_U8 bsxLibConf[] = {116,6,1,1,...,114,8,0,13,226,109};// <- this one is really long so I skipped a few numbers here initParam_t s_input;
s_input.accelspec = (BSX_U8 *)&bsxLibConfAcc;
s_input.magspec = (BSX_U8 *)&bsxLibConfMag;
s_input.gyrospec = (BSX_U8 *)&bsxLibConfGyro;
s_input.usecase = (BSX_U8 *)&bsxLibConf;
bsx_init(&s_input);