How do I disable gRPC? [LJM User's Guide]
To disable LJM's use of gRPC, set the LJM library configuration LJM_RPC_ENABLE to 0
(false). Do this before calling any Open
or ListAll
calls. This can be done in the startup configs or by writing using WriteLibraryConfigS
.
Examples
C
int error = LJM_WriteLibraryConfigS("LJM_RPC_ENABLE", 0);
if (error != LJME_NOERROR) {
// handle error
printf("LJM_RPC_ENABLE fail\n");
}
With LJM_Utilities.h
C
SetConfigValue("LJM_RPC_ENABLE", 0);