The NXC application (that use BTlib.nxc made by Daniele Benedettelli) is a sample to test NXT motors/sensors/buttons/display/bluetooth
(default ports connection) features.
To test a remote control via bluetooth you can use the C# application included.
Steps tu uses both (C# and NXC) applications together:
1) Turn on NXT.
2) Run C# application and click connect.
3) Wait until connection is active.
4) Run NXT application (FeaturesTest1.nxc).
Download source code: