A pocket scanner isn't going to be able to read or diagnose "C" related DTCs.
With the rear end of the truck sagging, unbolt the lower arm of the height sensor from the coil bucket. Turn it counter-clockwise, a revolution or two in order to extend that lower arm. Bolt it back on and start the truck. If the compressor turns on and raises the rear end, the height sensor is doing its job. Now if it starts losing air and begins to sag, check for any leaks on where the air lines connect to the shocks and compressor with a soap+water solution. If that checks out, highly likely the compressor is the problem which isn't anything new. Nissan is still using the same compressor since 2004. I know because I've already swapped out the air leveling compressor on my QX80 using a compressor being sold for the first gen trucks (saved almost $200). All I did was remove the new compressor from its bracket and installed it on the bracket on my QX80; same with the inline air filter.
With the rear end of the truck sagging, unbolt the lower arm of the height sensor from the coil bucket. Turn it counter-clockwise, a revolution or two in order to extend that lower arm. Bolt it back on and start the truck. If the compressor turns on and raises the rear end, the height sensor is doing its job. Now if it starts losing air and begins to sag, check for any leaks on where the air lines connect to the shocks and compressor with a soap+water solution. If that checks out, highly likely the compressor is the problem which isn't anything new. Nissan is still using the same compressor since 2004. I know because I've already swapped out the air leveling compressor on my QX80 using a compressor being sold for the first gen trucks (saved almost $200). All I did was remove the new compressor from its bracket and installed it on the bracket on my QX80; same with the inline air filter.